ConnectionMethod

sealed interface ConnectionMethod

The connection method to use when the SDK connects to the sync service.

Inheritors

Types

Link copied to clipboard
data object Http : ConnectionMethod

Receive sync lines via streamed HTTP response from the sync service.

Link copied to clipboard
data class WebSocket(val keepAlive: RSocketKeepAlive = RSocketKeepAlive.default) : ConnectionMethod

Receive binary sync lines via RSocket over a WebSocket connection.