GraphQLWsProtocol

An WsProtocol for the GraphQL over WebSocket Protocol. It can carry queries in addition to subscriptions over the websocket.

Constructors

Link copied to clipboard
constructor(    webSocketConnection: WebSocketConnection,     listener: WsProtocol.Listener,     connectionPayload: Supplier<Map<String, Any>>,     frameType: WsProtocol.WsFrameType,     pingPayload: Map<String, Any>,     pongPayload: Map<String, Any>,     connectionAcknowledgeTimeoutMs: Long,     pingIntervalMillis: Long)

Types

Link copied to clipboard

Functions

Link copied to clipboard
open fun close()
Link copied to clipboard
open fun connectionInit()
Link copied to clipboard
open fun handleServerMessage(messageMap: Map<String, Any>)
Link copied to clipboard
open fun run()
Link copied to clipboard
open fun <D : Operation.Data?> startOperation(request: ApolloRequest<D>)
Link copied to clipboard
open fun <D : Operation.Data?> stopOperation(request: ApolloRequest<D>)