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

# XblHttpCallGetNumHeaders

> XblHttpCallGetNumHeaders

# XblHttpCallGetNumHeaders

Obtiene el número de encabezados de respuesta de la llamada HTTP.

## Sintaxis

```cpp theme={null}
HRESULT XblHttpCallGetNumHeaders(  
         XblHttpCallHandle call,  
         uint32_t* numHeaders  
)  
```

### Parámetros

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

El identificador de la llamada HTTP.

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

El número de encabezados de respuesta de la llamada HTTP.

### Valor devuelto

Tipo: HRESULT

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

## Comentarios

Solo se puede llamar a esto después de llamar a [XblHttpCallPerformAsync](/reference/live/xsapi-c/http_call_c/functions/xblhttpcallperformasync) cuando la tarea HTTP se haya completado.

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

- [XblHttpCallGetHeaderAtIndex](/es/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetheaderatindex.md)
- [HCHttpCallResponseGetNumHeaders](/es/reference/live/httpclient/httpclient/functions/hchttpcallresponsegetnumheaders.md)
- [HCHttpCallRequestGetNumHeaders](/es/reference/live/httpclient/httpprovider/functions/hchttpcallrequestgetnumheaders.md)
- [HCHttpCallRequestGetHeaderAtIndex](/es/reference/live/httpclient/httpprovider/functions/hchttpcallrequestgetheaderatindex.md)
- [HCHttpCallResponseGetHeaderAtIndex](/es/reference/live/httpclient/httpclient/functions/hchttpcallresponsegetheaderatindex.md)
