ConnectionStrategy specifies how the WebSocket async fn connect() function should behave during the first-time connectivity phase.
ConnectionStrategy
async fn connect()
Causes connect() to return immediately if the first-time connection has failed.
connect()
Continuously attempt to connect to the server. This behavior will block connect() function until the connection is established.
Generated using TypeDoc
ConnectionStrategy
specifies how the WebSocketasync fn connect()
function should behave during the first-time connectivity phase.