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

# http_call_c

> http_call_c

# http\_call\_c

## 列舉

| 列舉 | 描述 |
| - | - |
| [XblHttpCallResponseBodyType](/zh-TW/reference/live/xsapi-c/http_call_c/enums/xblhttpcallresponsebodytype) | 定義讀取 HTTP 呼叫結果時的回應本文類型。 |

## 函式

| 函式 | 描述 |
| - | - |
| [XblHttpCallCloseHandle](/zh-TW/reference/live/xsapi-c/http_call_c/functions/xblhttpcallclosehandle) | 遞減呼叫物件的參考計數。 |
| [XblHttpCallCreate](/zh-TW/reference/live/xsapi-c/http_call_c/functions/xblhttpcallcreate) | 建立 HTTP 呼叫控制代碼。 |
| [XblHttpCallDuplicateHandle](/zh-TW/reference/live/xsapi-c/http_call_c/functions/xblhttpcallduplicatehandle) | 複製 XblHttpCallHandle 物件。 |
| [XblHttpCallGetHeader](/zh-TW/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetheader) | 取得 HTTP 呼叫中指定標頭名稱的回應標頭。 |
| [XblHttpCallGetHeaderAtIndex](/zh-TW/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetheaderatindex) | 取得 HTTP 呼叫中位於特定以零為起始之索引的回應標頭。 |
| [XblHttpCallGetNetworkErrorCode](/zh-TW/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetnetworkerrorcode) | 取得 HTTP 呼叫的網路錯誤碼。 |
| [XblHttpCallGetNumHeaders](/zh-TW/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetnumheaders) | 取得 HTTP 呼叫中的回應標頭數目。 |
| [XblHttpCallGetPlatformNetworkErrorMessage](/zh-TW/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetplatformnetworkerrormessage) | 取得 HTTP 呼叫的平台網路錯誤訊息。 |
| [XblHttpCallGetRequestUrl](/zh-TW/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetrequesturl) | 取得 HTTP 呼叫的要求 URL。 |
| [XblHttpCallGetResponseBodyBytes](/zh-TW/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetresponsebodybytes) | 取得 HTTP 呼叫的回應本文緩衝區。 |
| [XblHttpCallGetResponseBodyBytesSize](/zh-TW/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetresponsebodybytessize) | 取得 HTTP 呼叫的回應本文緩衝區大小。 |
| [XblHttpCallGetResponseString](/zh-TW/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetresponsestring) | 取得 HTTP 呼叫的回應本文字串。 |
| [XblHttpCallGetStatusCode](/zh-TW/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetstatuscode) | 取得 HTTP 呼叫回應的 HTTP 狀態碼。 |
| [XblHttpCallPerformAsync](/zh-TW/reference/live/xsapi-c/http_call_c/functions/xblhttpcallperformasync) | 使用 XblHttpCallHandle 執行 HTTP 呼叫。 |
| [XblHttpCallRequestSetHeader](/zh-TW/reference/live/xsapi-c/http_call_c/functions/xblhttpcallrequestsetheader) | 設定 HTTP 呼叫的要求標頭。 |
| [XblHttpCallRequestSetLongHttpCall](/zh-TW/reference/live/xsapi-c/http_call_c/functions/xblhttpcallrequestsetlonghttpcall) | 設定旗標，以定義 HTTP 呼叫是否為長時間呼叫。 |
| [XblHttpCallRequestSetRequestBodyBytes](/zh-TW/reference/live/xsapi-c/http_call_c/functions/xblhttpcallrequestsetrequestbodybytes) | 設定 HTTP 呼叫的要求本文位元組。 |
| [XblHttpCallRequestSetRequestBodyString](/zh-TW/reference/live/xsapi-c/http_call_c/functions/xblhttpcallrequestsetrequestbodystring) | 設定 HTTP 呼叫的要求本文字串。 |
| [XblHttpCallRequestSetRetryAllowed](/zh-TW/reference/live/xsapi-c/http_call_c/functions/xblhttpcallrequestsetretryallowed) | 設定此 HTTP 呼叫是否允許重試。 |
| [XblHttpCallRequestSetRetryCacheId](/zh-TW/reference/live/xsapi-c/http_call_c/functions/xblhttpcallrequestsetretrycacheid) | 此 REST 端點的識別碼，用於快取 Retry-After 標頭以快速失敗。 |
| [XblHttpCallSetTracing](/zh-TW/reference/live/xsapi-c/http_call_c/functions/xblhttpcallsettracing) | 啟用或停用此特定 HTTP 呼叫的追蹤。 |

## 控制代碼

| 控制代碼 | 描述 |
| - | - |
| [XblHttpCallHandle](/zh-TW/reference/live/xsapi-c/http_call_c/handles/xblhttpcallhandle) | HTTP 呼叫的控制代碼。 |


## Related topics

- [XblHttpCallRequestSetLongHttpCall](/reference/live/xsapi-c/http_call_c/functions/xblhttpcallrequestsetlonghttpcall.md)
- [XblHttpCallCreate](/reference/live/xsapi-c/http_call_c/functions/xblhttpcallcreate.md)
- [XblHttpCallSetTracing](/reference/live/xsapi-c/http_call_c/functions/xblhttpcallsettracing.md)
- [XblHttpCallDuplicateHandle](/reference/live/xsapi-c/http_call_c/functions/xblhttpcallduplicatehandle.md)
- [XblHttpCallGetHeader](/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetheader.md)
