> ## 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

Gets the timeout for this HTTP call.

## Syntax

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

### Parameters

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

The handle of the HTTP call. Pass nullptr to get the default for future calls.

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

the timeout for this HTTP call.

### Return value

Type: HRESULT

Result code for this API operation. Possible values are S\_OK, E\_INVALIDARG, or E\_FAIL.

## Remarks

Defaults to 30 seconds.

## Requirements

**Header:** httpProvider.h

**Library:** libHttpClient.GDK.lib

## See also

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