XblHttpCallGetStatusCode

Get the HTTP status code of the HTTP call response.

Syntax

HRESULT XblHttpCallGetStatusCode(  
         XblHttpCallHandle call,  
         uint32_t* statusCode  
)  

Parameters

call   _In_
Type: XblHttpCallHandle

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.

Remarks

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

Requirements

Header: http_call_c.h

Library: Microsoft.Xbox.Services.14x.GDK.C.lib

See also

http_call_c