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.
Sets the HTTP timeout window in seconds.
Syntax
HRESULT XblContextSettingsSetHttpTimeoutWindow(
XblContextHandle context,
uint32_t timeoutWindowInSeconds
)
Parameters
context _In_
Type: XblContextHandle
Xbox live context that the settings are associated with.
timeoutWindowInSeconds _In_
Type: uint32_t
The timeout window in seconds. The default is 20 seconds. Set to 0 to turn off retry.
Return value
Type: HRESULT
HRESULT return code for this API operation.
Remarks
This controls how long to spend attempting to retry idempotent service calls before failing.
Idempotent service calls are retried when a network error occurs or the server responds with one of these HTTP status codes:
408 (Request Timeout)
429 (Too Many Requests)
500 (Internal Server Error)
502 (Bad Gateway)
503 (Service Unavailable)
504 (Gateway Timeout)
Requirements
Header: xbox_live_context_settings_c.h
Library: Microsoft.Xbox.Services.14x.GDK.C.lib