Package-level declarations
Types
Link copied to clipboard
class AppSyncWsProtocol(connectionAcknowledgeTimeoutMs: Long, connectionPayload: suspend () -> Map<String, Any?>? = { null }, webSocketConnection: WebSocketConnection, listener: WsProtocol.Listener) : WsProtocol
A WsProtocol for https://docs.aws.amazon.com/appsync/latest/devguide/real-time-websocket-client.html
Link copied to clipboard
Link copied to clipboard
An WsProtocol that uses https://github.com/enisdenjo/graphql-ws/blob/master/PROTOCOL.md It can carry queries in addition to subscriptions over the websocket
Link copied to clipboard
typealias NSWebSocketFactory = (NSURLRequest, WebSocketConnectionListener) -> NSURLSessionWebSocketTask
Link copied to clipboard
class SubscriptionWsProtocol @JvmOverloads constructor(webSocketConnection: WebSocketConnection, listener: WsProtocol.Listener, connectionAcknowledgeTimeoutMs: Long, connectionPayload: suspend () -> Map<String, Any?>? = { null }, frameType: WsFrameType = WsFrameType.Text) : WsProtocol
A WsProtocol for https://github.com/apollographql/subscriptions-transport-ws/blob/master/PROTOCOL.md
Link copied to clipboard
open class SubscriptionWsProtocolAdapter(webSocketConnection: WebSocketConnection, listener: WsProtocol.Listener) : WsProtocol
Link copied to clipboard
interface WebSocketConnection
Link copied to clipboard
interface WebSocketConnectionListener
Link copied to clipboard
interface WebSocketEngine
The low-level WebSocket API. Implement this interface to customize how WebSockets are handled
Link copied to clipboard
A NetworkTransport that manages a single instance of a WebSocketConnection.
Link copied to clipboard
Link copied to clipboard
A WsProtocol is responsible for handling the details of the WebSocket protocol.
Functions
Link copied to clipboard
Closes the websocket connection if the transport is a WebSocketNetworkTransport.