Skip to main content

XblContextSettingsSetLongHttpTimeout

Sets the connect, send, and receive timeouts for HTTP socket operations of long calls such as Title Storage calls.

Syntax

Parameters

context   _In_
Type: XblContextHandle
XBOX live context that the settings are associated with. timeoutInSeconds   _In_
Type: uint32_t
The timeout for long HTTP calls in seconds. Default is 5 minutes (300 seconds).

Return value

Type: HRESULT HRESULT return code for this API operation.

Remarks

Calls that take longer than the given timeout are aborted. Take care when setting this to smaller values as some calls like Title Storage may take a few minutes to complete.

Requirements

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

See also

xbox_live_context_settings_c
Last modified on August 20, 2026