WebSocketManager

Properties

Link copied to clipboard
abstract val eventFlow: StateFlow<List<WebSocketEvent>>
Link copied to clipboard
abstract val stateFlow: StateFlow<WebSocketState>

Functions

Link copied to clipboard
abstract fun connect(useSSL: Boolean = true, reconnectOnFailure: Boolean = true, eventsGroups: Set<WebSocketEvent.Group> = setOf( WebSocketEvent.Group.PHOTOS, WebSocketEvent.Group.FAMILY, WebSocketEvent.Group.FILES, ))

Establishes a websocket connection.

Link copied to clipboard
abstract fun disconnect()
Link copied to clipboard