> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# http_call_c (contents)

> http_call_c

## Enumerations

| Enumeration | Description |
| - | - |
| [XblHttpCallResponseBodyType](https://docs.xbox.com/reference/live/xsapi-c/http_call_c/enums/xblhttpcallresponsebodytype.md) | Defines the response body type when reading the results of an HTTP call. |

## Functions

| Function | Description |
| - | - |
| [XblHttpCallCloseHandle](https://docs.xbox.com/reference/live/xsapi-c/http_call_c/functions/xblhttpcallclosehandle.md) | Decrements the reference count on the call object. |
| [XblHttpCallCreate](https://docs.xbox.com/reference/live/xsapi-c/http_call_c/functions/xblhttpcallcreate.md) | Creates an HTTP call handle. |
| [XblHttpCallDuplicateHandle](https://docs.xbox.com/reference/live/xsapi-c/http_call_c/functions/xblhttpcallduplicatehandle.md) | Duplicates the XblHttpCallHandle object. |
| [XblHttpCallGetHeader](https://docs.xbox.com/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetheader.md) | Get a response header for the HTTP call for a given header name. |
| [XblHttpCallGetHeaderAtIndex](https://docs.xbox.com/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetheaderatindex.md) | Gets the response headers at specific zero based index in the HTTP call. |
| [XblHttpCallGetNetworkErrorCode](https://docs.xbox.com/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetnetworkerrorcode.md) | Get the network error code of the HTTP call. |
| [XblHttpCallGetNumHeaders](https://docs.xbox.com/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetnumheaders.md) | Gets the number of response headers in the HTTP call. |
| [XblHttpCallGetPlatformNetworkErrorMessage](https://docs.xbox.com/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetplatformnetworkerrormessage.md) | Get the platform network error message of the HTTP call. |
| [XblHttpCallGetRequestUrl](https://docs.xbox.com/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetrequesturl.md) | Gets the request url for the HTTP call. |
| [XblHttpCallGetResponseBodyBytes](https://docs.xbox.com/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetresponsebodybytes.md) | Get the response body buffer of the HTTP call. |
| [XblHttpCallGetResponseBodyBytesSize](https://docs.xbox.com/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetresponsebodybytessize.md) | Get the response body buffer size of the HTTP call. |
| [XblHttpCallGetResponseString](https://docs.xbox.com/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetresponsestring.md) | Get the response body string of the HTTP call. |
| [XblHttpCallGetStatusCode](https://docs.xbox.com/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetstatuscode.md) | Get the HTTP status code of the HTTP call response. |
| [XblHttpCallPerformAsync](https://docs.xbox.com/reference/live/xsapi-c/http_call_c/functions/xblhttpcallperformasync.md) | Perform an HTTP call using the XblHttpCallHandle. |
| [XblHttpCallRequestSetHeader](https://docs.xbox.com/reference/live/xsapi-c/http_call_c/functions/xblhttpcallrequestsetheader.md) | Set a request header for the HTTP call. |
| [XblHttpCallRequestSetLongHttpCall](https://docs.xbox.com/reference/live/xsapi-c/http_call_c/functions/xblhttpcallrequestsetlonghttpcall.md) | Sets a flag which defines the HTTP call as long or not. |
| [XblHttpCallRequestSetRequestBodyBytes](https://docs.xbox.com/reference/live/xsapi-c/http_call_c/functions/xblhttpcallrequestsetrequestbodybytes.md) | Set the request body bytes of the HTTP call. |
| [XblHttpCallRequestSetRequestBodyString](https://docs.xbox.com/reference/live/xsapi-c/http_call_c/functions/xblhttpcallrequestsetrequestbodystring.md) | Set the request body string of the HTTP call. |
| [XblHttpCallRequestSetRetryAllowed](https://docs.xbox.com/reference/live/xsapi-c/http_call_c/functions/xblhttpcallrequestsetretryallowed.md) | Sets if retry is allowed for this HTTP call. |
| [XblHttpCallRequestSetRetryCacheId](https://docs.xbox.com/reference/live/xsapi-c/http_call_c/functions/xblhttpcallrequestsetretrycacheid.md) | ID number of this REST endpoint used to cache the Retry-After header for fast fail. |
| [XblHttpCallSetTracing](https://docs.xbox.com/reference/live/xsapi-c/http_call_c/functions/xblhttpcallsettracing.md) | Enables or disables tracing for this specific HTTP call. |

## Handles

| Handle | Description |
| - | - |
| [XblHttpCallHandle](https://docs.xbox.com/reference/live/xsapi-c/http_call_c/handles/xblhttpcallhandle.md) | A handle to an HTTP call. |


## Related topics

- [XblHttpCallPerformAsync](https://docs.xbox.com/reference/live/xsapi-c/http_call_c/functions/xblhttpcallperformasync.md)
- [XblHttpCallRequestSetLongHttpCall](https://docs.xbox.com/reference/live/xsapi-c/http_call_c/functions/xblhttpcallrequestsetlonghttpcall.md)
- [XblHttpCallCreate](https://docs.xbox.com/reference/live/xsapi-c/http_call_c/functions/xblhttpcallcreate.md)
- [XblHttpCallHandle](https://docs.xbox.com/reference/live/xsapi-c/http_call_c/handles/xblhttpcallhandle.md)
- [XblHttpCallCloseHandle](https://docs.xbox.com/reference/live/xsapi-c/http_call_c/functions/xblhttpcallclosehandle.md)
