HCHttpCallRequestGetNumHeaders

Gets the number of request headers in the HTTP call.

Syntax

HRESULT HCHttpCallRequestGetNumHeaders(  
         HCCallHandle call,  
         uint32_t* numHeaders  
)  

Parameters

call   _In_
Type: HCCallHandle

The handle of the HTTP call.

numHeaders   _Out_
Type: uint32_t*

the number of request headers in 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.141.GSDK.C.lib

See also

httpProvider