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

# HCHttpCallResponseSetHeaderWithLength

> HCHttpCallResponseSetHeaderWithLength

# HCHttpCallResponseSetHeaderWithLength

HTTP 호출의 응답 헤더를 설정합니다.

## Syntax

```cpp theme={null}
HRESULT HCHttpCallResponseSetHeaderWithLength(  
         HCCallHandle call,  
         const char* headerName,  
         size_t nameSize,  
         const char* headerValue,  
         size_t valueSize  
)  
```

### Parameters

*call*   \_In\_\
Type: HCCallHandle

HTTP 호출의 핸들입니다.

*headerName*   \_In\_reads\_(nameSize)\
Type: char\*

HTTP 호출에 대한 UTF-8로 인코딩된 응답 헤더 이름입니다.

*nameSize*   \_In\_\
Type: size\_t

헤더 이름 문자열의 길이(바이트)입니다.

*headerValue*   \_In\_reads\_(valueSize)\
Type: char\*

HTTP 호출에 대한 UTF-8로 인코딩된 응답 헤더 값입니다.

*valueSize*   \_In\_\
Type: size\_t

헤더 값 문자열의 길이(바이트)입니다.

### Return value

Type: HRESULT

이 API 작업의 결과 코드입니다. 가능한 값은 S\_OK, E\_INVALIDARG, E\_OUTOFMEMORY 또는 E\_FAIL입니다.

## Requirements

**Header:** httpProvider.h

**Library:** libHttpClient.GDK.lib

## See also

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


## Related topics

- [HCHttpCallResponseSetHeader](/ko/reference/live/httpclient/httpprovider/functions/hchttpcallresponsesetheader.md)
- [HCHttpCallResponseSetResponseBodyBytes](/ko/reference/live/httpclient/httpprovider/functions/hchttpcallresponsesetresponsebodybytes.md)
- [HCHttpCallResponseSetStatusCode](/ko/reference/live/httpclient/httpprovider/functions/hchttpcallresponsesetstatuscode.md)
- [HCHttpCallResponseSetNetworkErrorCode](/ko/reference/live/httpclient/httpprovider/functions/hchttpcallresponsesetnetworkerrorcode.md)
- [HCHttpCallResponseGetHeader](/ko/reference/live/httpclient/httpclient/functions/hchttpcallresponsegetheader.md)
