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.
Gets the HTTP timeout window in seconds.
Syntax
HRESULT XblContextSettingsGetHttpTimeoutWindow(
XblContextHandle context,
uint32_t* timeoutWindowInSeconds
)
Parameters
context _In_
Type: XblContextHandle
Xbox live context that the settings are associated with.
timeoutWindowInSeconds _Out_
Type: uint32_t*
Passes back the timeout window in seconds. The default is 20 seconds.
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