SocketStore

interface SocketStore

Inheritors

Functions

Link copied to clipboard
abstract fun append(message: SocketMessage)
Link copied to clipboard
Link copied to clipboard
abstract fun close(connectionId: String, state: SocketConnectionState, timestampEpochMs: Long, error: String? = null)
Link copied to clipboard
abstract fun connection(id: String): SocketConnection?
Link copied to clipboard
Link copied to clipboard
open fun lifecycleEvents(connectionId: String? = null): List<SocketLifecycleEvent>
Link copied to clipboard
abstract fun messages(connectionId: String? = null): List<SocketMessage>
Link copied to clipboard
abstract fun open(connection: SocketConnection)
Link copied to clipboard
open fun transition(connectionId: String, state: SocketConnectionState, timestampEpochMs: Long, code: Int? = null, reason: String? = null, error: String? = null)