ApolloWsProtocol

A WsProtocol for Apollo's GraphQL over WebSocket Protocol.

Note: This protocol is no longer actively maintained, and GraphQLWsProtocol should be favored instead.

Constructors

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

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>)