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

# HCSetHttpCallPerformFunction

> HCSetHttpCallPerformFunction

# HCSetHttpCallPerformFunction

호출자가 선택적으로 HTTP perform 함수를 구현할 수 있게 합니다.

## Syntax

```cpp theme={null}
HRESULT HCSetHttpCallPerformFunction(  
         HCCallPerformFunction performFunc,  
         void* performContext  
)  
```

### Parameters

*performFunc*   \_In\_\
Type: HCCallPerformFunction

필요에 따라 HTTP perform 함수를 구현하는 콜백입니다.

*performContext*   \_In\_opt\_\
Type: void\*

콜백에 대한 컨텍스트입니다.

### Return value

Type: HRESULT

이 API 작업의 결과 코드입니다. 가능한 값은 S\_OK 또는 E\_HC\_ALREADY\_INITIALISED입니다.

## Remarks

HCInit 전에 호출해야 합니다. HCCallPerformFunction 콜백에서 HCHttpCallRequestGet\*() 및 HCSettingsGet\*()을 사용하여 HTTP 호출에 대한 정보를 가져오고, 필요에 따라 호출을 수행하고, HCHttpCallResponseSet\*()으로 응답을 설정합니다.

## Requirements

**Header:** httpProvider.h

**Library:** libHttpClient.GDK.lib

## See also

[httpProvider](/reference/live/httpclient/httpprovider/httpprovider_members)


## Related topics

- [HCGetHttpCallPerformFunction](/ko/reference/live/httpclient/httpprovider/functions/hcgethttpcallperformfunction.md)
- [HCHttpCallResponseSetResponseBodyWriteFunction](/ko/reference/live/httpclient/httpclient/functions/hchttpcallresponsesetresponsebodywritefunction.md)
- [HCHttpCallRequestSetRequestBodyReadFunction](/ko/reference/live/httpclient/httpclient/functions/hchttpcallrequestsetrequestbodyreadfunction.md)
- [HCHttpCallPerformAsync](/ko/reference/live/httpclient/httpclient/functions/hchttpcallperformasync.md)
- [XblHttpCallPerformAsync](/ko/reference/live/xsapi-c/http_call_c/functions/xblhttpcallperformasync.md)
