Enumeration ConnectStrategy

ConnectionStrategy specifies how the WebSocket async fn connect() function should behave during the first-time connectivity phase.

Enumeration Members

Enumeration Members

Fallback: 1

Causes connect() to return immediately if the first-time connection has failed.

Retry: 0

Continuously attempt to connect to the server. This behavior will block connect() function until the connection is established.

Generated using TypeDoc