XblHttpCallGetNumHeaders

Gets the number of response headers in the HTTP call.

Syntax

HRESULT XblHttpCallGetNumHeaders(  
         XblHttpCallHandle call,  
         uint32_t* numHeaders  
)  

Parameters

call   _In_
Type: XblHttpCallHandle

The handle of the HTTP call.

numHeaders   _Out_
Type: uint32_t*

The number of response headers in the HTTP call.

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 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