WebSocketConnector

Class to connect to a web socket.

Parameters

listener

Listener for the web socket.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun connect(url: String, params: Map<String, String>? = null)

Method to establish connection.

Link copied to clipboard

Method to disconnect from the web socket.

Link copied to clipboard
fun sendMessage(message: String): Boolean?

Method to send a message to the web socket.