Share via


HCHttpCallResponseSetPlatformNetworkErrorMessage

Set the platform network error message of the HTTP call.

Syntax

HRESULT HCHttpCallResponseSetPlatformNetworkErrorMessage(  
         HCCallHandle call,  
         const char* platformNetworkErrorMessage  
)  

Parameters

call   _In_
Type: HCCallHandle

The handle of the HTTP call.

platformNetworkErrorMessage   _In_z_
Type: char*

The platform specific network error message of the HTTP call to be used for logging / debugging.

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