- Companion:
- object
Value members
Concrete methods
Creates a socket connection on the provided URL. Typically used to connect as a client.
Creates a socket connection on the provided URL. Typically used to connect as a client.
Called when the websocket connection is closed successfully.
Called when the websocket connection is closed successfully.
Called whenever there is an error on the channel after a successful upgrade to websocket.
Called whenever there is an error on the channel after a successful upgrade to websocket.
Called on every incoming WebSocketFrame. In case of a failure on the returned stream, the socket is forcefully closed.
Called on every incoming WebSocketFrame. In case of a failure on the returned stream, the socket is forcefully closed.
Called when the connection is successfully upgraded to a websocket one. In case of a failure, the socket is forcefully closed.
Called when the connection is successfully upgraded to a websocket one. In case of a failure, the socket is forcefully closed.
Called when the connection is successfully upgraded to a websocket one. In case of a failure, the socket is forcefully closed.
Called when the connection is successfully upgraded to a websocket one. In case of a failure, the socket is forcefully closed.
Provides the socket app with its required environment, which eliminates its
dependency on R
.
Provides the socket app with its required environment, which eliminates its
dependency on R
.