> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# HCHttpCallRequestGetTimeout

> HCHttpCallRequestGetTimeout

# HCHttpCallRequestGetTimeout

この HTTP 呼び出しのタイムアウトを取得します。

## 構文

```cpp theme={null}
HRESULT HCHttpCallRequestGetTimeout(  
         HCCallHandle call,  
         uint32_t* timeoutInSeconds  
)  
```

### パラメーター

*call*   \_In\_opt\_\
型: HCCallHandle

HTTP 呼び出しのハンドル。今後の呼び出しの既定値を取得するには nullptr を渡します。

*timeoutInSeconds*   \_Out\_\
型: uint32\_t\*

この HTTP 呼び出しのタイムアウト。

### 戻り値

型: HRESULT

この API 操作の結果コード。取り得る値は S\_OK、E\_INVALIDARG、または E\_FAIL です。

## 解説

既定は 30 秒です。

## 要件

**ヘッダー:** httpProvider.h

**ライブラリ:** libHttpClient.GDK.lib

## 関連項目

[httpProvider](/reference/live/httpclient/httpprovider/httpprovider_members)


## Related topics

- [HCHttpCallRequestGetTimeoutWindow](/ja-jp/reference/live/httpclient/httpprovider/functions/hchttpcallrequestgettimeoutwindow.md)
- [HCHttpCallRequestSetTimeout](/ja-jp/reference/live/httpclient/httpclient/functions/hchttpcallrequestsettimeout.md)
- [HCHttpCallRequestSetTimeoutWindow](/ja-jp/reference/live/httpclient/httpclient/functions/hchttpcallrequestsettimeoutwindow.md)
- [HCHttpCallRequestGetRetryDelay](/ja-jp/reference/live/httpclient/httpprovider/functions/hchttpcallrequestgetretrydelay.md)
- [HCHttpCallRequestGetHeader](/ja-jp/reference/live/httpclient/httpprovider/functions/hchttpcallrequestgetheader.md)
