WebSocketEngine

Deprecated

The websocket implementation has moved to 'com.apollographql.apollo.network.websocket'. See https://go.apollo.dev/ak-v5-websockets for more details.

The low-level WebSocket API. Implement this interface to customize how WebSockets are handled

Inheritors

Functions

Link copied to clipboard
abstract suspend fun open(url: String, headers: List<HttpHeader> = emptyList()): WebSocketConnection

Open the websocket. Suspends until the handshake is done