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

Establece una marca que define si la llamada HTTP es larga o no.

## Sintaxis

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

### Parámetros

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

El identificador de la llamada HTTP. Pase nullptr para establecer el valor predeterminado para llamadas futuras.

*longHttpCall*   \_In\_\
Tipo: bool

El valor booleano para establecer si la llamada HTTP es larga o no.

### Valor devuelto

Tipo: HRESULT

Código de resultado para esta operación de API. Los valores posibles son S\_OK o E\_FAIL.

## Comentarios

El valor predeterminado es false. Se debe llamar a esto antes de llamar a [XblHttpCallPerformAsync](/reference/live/xsapi-c/http_call_c/functions/xblhttpcallperformasync).

## Requisitos

**Encabezado:** http\_call\_c.h

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

## Consulte también

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


## Related topics

- [XblHttpCallRequestSetHeader](/es/reference/live/xsapi-c/http_call_c/functions/xblhttpcallrequestsetheader.md)
- [XblHttpCallRequestSetRequestBodyBytes](/es/reference/live/xsapi-c/http_call_c/functions/xblhttpcallrequestsetrequestbodybytes.md)
- [XblHttpCallRequestSetRequestBodyString](/es/reference/live/xsapi-c/http_call_c/functions/xblhttpcallrequestsetrequestbodystring.md)
- [XblHttpCallRequestSetRetryAllowed](/es/reference/live/xsapi-c/http_call_c/functions/xblhttpcallrequestsetretryallowed.md)
- [XblHttpCallRequestSetRetryCacheId](/es/reference/live/xsapi-c/http_call_c/functions/xblhttpcallrequestsetretrycacheid.md)
