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

# XblHttpCallRequestSetLongHttpCall

> XblHttpCallRequestSetLongHttpCall

# XblHttpCallRequestSetLongHttpCall

Define um sinalizador que determina se a chamada HTTP é longa ou não.

## Sintaxe

```cpp theme={null}
HRESULT XblHttpCallRequestSetLongHttpCall(  
         XblHttpCallHandle call,  
         bool longHttpCall  
)  
```

### Parâmetros

*call*   \_In\_\
Tipo: [XblHttpCallHandle](/pt-BR/reference/live/xsapi-c/http_call_c/handles/xblhttpcallhandle)

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

*longHttpCall*   \_In\_\
Tipo: bool

O booliano que define se a chamada HTTP é longa ou não.

### Valor retornado

Tipo: HRESULT

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

## Comentários

O padrão é false. Isso deve ser chamado antes de chamar [XblHttpCallPerformAsync](/pt-BR/reference/live/xsapi-c/http_call_c/functions/xblhttpcallperformasync).

## Requisitos

**Cabeçalho:** http\_call\_c.h

**Biblioteca:** Microsoft.Xbox.Services.14x.GDK.C.lib

## Confira também

[http\_call\_c](/pt-BR/reference/live/xsapi-c/http_call_c/http_call_c_members)


## Related topics

- [XblHttpCallRequestSetLongHttpCall](/reference/live/xsapi-c/http_call_c/functions/xblhttpcallrequestsetlonghttpcall.md)
- [HTTP and WebSocket web requests in the GDK](/build/console-features/networking/web-requests/http-networking.md)
- [XblContextSettingsSetLongHttpTimeout](/reference/live/xsapi-c/xbox_live_context_settings_c/functions/xblcontextsettingssetlonghttptimeout.md)
- [HCHttpCallRequestSetTimeoutWindow](/reference/live/httpclient/httpclient/functions/hchttpcallrequestsettimeoutwindow.md)
- [XblHttpCallRequestSetHeader](/reference/live/xsapi-c/http_call_c/functions/xblhttpcallrequestsetheader.md)
