HCHttpCallRequestGetHeader
Get a request header for the HTTP call for a given header name.
Syntax
HRESULT HCHttpCallRequestGetHeader(
HCCallHandle call,
const char* headerName,
const char** headerValue
)
Parameters
call _In_
Type: HCCallHandle
The handle of the HTTP call
headerName _In_z_
Type: char*
UTF-8 encoded request header name for the HTTP call.
headerValue _Out_
Type: char**
UTF-8 encoded request header value for the HTTP call.
Return value
Type: HRESULT
Result code for this API operation. Possible values are S_OK, E_INVALIDARG, or E_FAIL.
Requirements
Header: httpProvider.h
Library: libHttpClient.GDK.lib