OkHttpSocketConnection

class OkHttpSocketConnection(client: OkHttpClient, scope: CoroutineScope) : SocketConnection

Constructors

Link copied to clipboard
constructor(client: OkHttpClient, scope: CoroutineScope)

Properties

Link copied to clipboard
open override val state: StateFlow<SocketConnectionState>

Functions

Link copied to clipboard
open suspend override fun connect(url: String, authorization: String): Boolean
Link copied to clipboard
open suspend override fun disconnect()
Link copied to clipboard
open suspend override fun send(message: String): Boolean