Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Get the HTTP status code of the HTTP call response.
Syntax
HRESULT HCHttpCallResponseGetStatusCode(
HCCallHandle call,
uint32_t* statusCode
)
Parameters
call _In_
Type: HCCallHandle
The handle of the HTTP call.
statusCode _Out_
Type: uint32_t*
the HTTP status code of the HTTP call response.
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