Skip to main content

XblHttpCallRequestSetLongHttpCall

Sets a flag which defines the HTTP call as long or not.

Syntax

Parameters

call   _In_
Type: XblHttpCallHandle
The handle of the HTTP call. Pass nullptr to set the default for future calls. longHttpCall   _In_
Type: bool
The boolean to set the HTTP call to long or not.

Return value

Type: HRESULT Result code for this API operation. Possible values are S_OK, or E_FAIL.

Remarks

Defaults to false. This must be called prior to calling XblHttpCallPerformAsync.

Requirements

Header: http_call_c.h Library: Microsoft.Xbox.Services.14x.GDK.C.lib

See also

http_call_c
Last modified on August 4, 2026