Share via


HCHttpCallResponseGetPlatformNetworkErrorMessage

Get the platform network error message of the HTTP call.

Syntax

HRESULT HCHttpCallResponseGetPlatformNetworkErrorMessage(  
         HCCallHandle call,  
         const char** platformNetworkErrorMessage  
)  

Parameters

call   _In_
Type: HCCallHandle

The handle of the HTTP call.

platformNetworkErrorMessage   _Out_
Type: char**

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

Return value

Type: HRESULT

Result code for this API operation. Possible values are S_OK, E_INVALIDARG, or E_FAIL.

Remarks

This can only be called after calling HCHttpCallPerformAsync when the HTTP task is completed.

Requirements

Header: httpClient.h

Library: libHttpClient.GDK.lib

See also

httpClient