XblContextSettingsSetWebsocketTimeoutWindow

Sets the web socket timeout window in seconds.

Syntax

HRESULT XblContextSettingsSetWebsocketTimeoutWindow(  
         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. Default is 300 seconds. Set to 0 to turn off retry.

Return value

Type: HRESULT

HRESULT return code for this API operation.

Remarks

Controls how long to spend attempting to retry establishing a web socket connection before failing.

Requirements

Header: xbox_live_context_settings_c.h

Library: Microsoft.Xbox.Services.141.GSDK.C.lib

See also

xbox_live_context_settings_c