HCHttpCallRequestGetRequestBodyBytes

Get the request body bytes of the HTTP call.

Syntax

HRESULT HCHttpCallRequestGetRequestBodyBytes(  
         HCCallHandle call,  
         _Outptr_result_bytebuffer_maybenull_ *requestBodySize  
)  

Parameters

call   _In_
Type: HCCallHandle

The handle of the HTTP call.

*requestBodySize   
Type: Outptr_result_bytebuffer_maybenull

The request body size in bytes of 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