HCHttpCallRequestGetRequestBodyReadFunction
Get the function used by the HTTP call to read the request body
Syntax
HRESULT HCHttpCallRequestGetRequestBodyReadFunction(
HCCallHandle call,
HCHttpCallRequestBodyReadFunction* readFunction,
size_t* bodySize,
void** context
)
Parameters
call _In_
Type: HCCallHandle
The handle of the HTTP call.
readFunction _Out_
Type: HCHttpCallRequestBodyReadFunction*
The read function of this HTTP call.
bodySize _Out_
Type: size_t*
The size of the body.
context _Out_
Type: void**
The context associated with this read function.
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