SfuSocketConnection  
    class SfuSocketConnection(apiKey: ApiKey, url: String, httpClient: OkHttpClient, networkStateProvider: NetworkStateProvider, scope: CoroutineScope = UserScope(ClientScope()), lifecycle: Lifecycle, tokenProvider: TokenProvider) : SocketListener<SfuDataEvent, JoinCallResponseEvent> , SocketActions<SfuDataRequest, SfuDataEvent, StreamWebSocketEvent.Error, SfuSocketState, SfuToken, <Error class: unknown class>> 
Constructors
Link copied to clipboard
                  constructor(apiKey: ApiKey, url: String, httpClient: OkHttpClient, networkStateProvider: NetworkStateProvider, scope: CoroutineScope = UserScope(ClientScope()), lifecycle: Lifecycle, tokenProvider: TokenProvider)
Inherited properties
Functions
Link copied to clipboard
                  Get the connection id.
Link copied to clipboard
                  Disconnect the socket.
Link copied to clipboard
                  Socket errors as Flow
Link copied to clipboard
                  Socket events as Flow
Link copied to clipboard
                  Invoked when we receive the first ConnectedEventType in this connection.
Link copied to clipboard
                  Invoked when the connection begins to establish and socket state changes to Connecting.
Link copied to clipboard
                  Invoked when the web socket connection is disconnected.
Link copied to clipboard
                  Invoked when there is any error in this web socket connection.
Link copied to clipboard
                  Invoked when we receive any successful event.
Link copied to clipboard
                  Send event to the socket.
Link copied to clipboard
                  State of the socket as StateFlow
Link copied to clipboard
                  Update the token from the outside.
Link copied to clipboard
                  open override fun whenConnected(connectionTimeout: Long, connected: suspend (connectionId: String) -> Unit)
When connected to the socket.