SocketConnector

fun interface SocketConnector

Opens a socket to url; throws when the connection cannot be established.

Inheritors

Functions

Link copied to clipboard
abstract suspend fun connect(url: String): SocketConnection

Opens a socket to url (ws:// or wss://).