Compartilhar via


HCHttpCallResponseGetResponseBodyWriteFunction

Get the function used by the HTTP call to write the response body.

Syntax

HRESULT HCHttpCallResponseGetResponseBodyWriteFunction(  
         HCCallHandle call,  
         HCHttpCallResponseBodyWriteFunction* writeFunction,  
         void** context  
)  

Parameters

call   _In_
Type: HCCallHandle

The handle of the HTTP call.

writeFunction   _Out_
Type: HCHttpCallResponseBodyWriteFunction*

The write function of this HTTP call.

context   _Out_
Type: void**

The context associated with this write 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

See also

httpProvider