dreamworkAPI
Ctrl K
GitHub
typeDocs / WebSocket / ReconnectOptions

WebSocket.ReconnectOptions

typesharedmenusource

Automatic reconnect settings, the delay doubles after every failed attempt.

Fields

NameTypeDescription
delaynumber | nilSeconds before the first attempt. Defaults to 1.
max_delaynumber | nilUpper bound of the delay in seconds. Defaults to 30.
attemptsinteger | nilAttempts in a row before giving up. Defaults to unlimited.
Generated from the dreamwork meta branch.