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

# HCHttpCallRequestGetTimeoutWindow

> HCHttpCallRequestGetTimeoutWindow

# HCHttpCallRequestGetTimeoutWindow

Define a janela de tempo limite HTTP em segundos.

## Sintaxe

```cpp theme={null}
HRESULT HCHttpCallRequestGetTimeoutWindow(  
         HCCallHandle call,  
         uint32_t* timeoutWindowInSeconds  
)  
```

### Parâmetros

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

O identificador da chamada HTTP. Passe nullptr para obter o padrão para chamadas futuras.

*timeoutWindowInSeconds*   \_Out\_\
Tipo: uint32\_t\*

A janela de tempo limite em segundos.

### Valor retornado

Tipo: HRESULT

Código de resultado desta operação de API. Os valores possíveis são S\_OK, E\_INVALIDARG ou E\_FAIL.

## Comentários

Isso controla quanto tempo gastar tentando repetir chamadas de serviço idempotentes antes de falhar.<br /> O padrão é 20 segundos.<br /><br /> As chamadas de serviço idempotentes são repetidas quando ocorre um erro de rede ou o servidor responde <br /> com um destes códigos de status HTTP:<br /> 408 (Request Timeout)<br /> 429 (Too Many Requests)<br /> 500 (Internal Server Error)<br /> 502 (Bad Gateway)<br /> 503 (Service Unavailable)<br /> 504 (Gateway Timeout)<br />

## Requisitos

**Cabeçalho:** httpProvider.h

**Biblioteca:** libHttpClient.GDK.lib

## Confira também

[httpProvider](/pt-BR/reference/live/httpclient/httpprovider/httpprovider_members)


## Related topics

- [HCHttpCallRequestSetTimeoutWindow](/pt-BR/reference/live/httpclient/httpclient/functions/hchttpcallrequestsettimeoutwindow.md)
- [HCHttpCallRequestGetTimeout](/pt-BR/reference/live/httpclient/httpprovider/functions/hchttpcallrequestgettimeout.md)
- [HCHttpCallRequestSetTimeout](/pt-BR/reference/live/httpclient/httpclient/functions/hchttpcallrequestsettimeout.md)
- [HCHttpCallRequestGetRetryDelay](/pt-BR/reference/live/httpclient/httpprovider/functions/hchttpcallrequestgetretrydelay.md)
- [XblContextSettingsGetHttpTimeoutWindow](/pt-BR/reference/live/xsapi-c/xbox_live_context_settings_c/functions/xblcontextsettingsgethttptimeoutwindow.md)
