Package-level declarations
Types
A WsProtocol for https://docs.aws.amazon.com/appsync/latest/devguide/real-time-websocket-client.html
A WebSocket message sent by the client
The subscription completed normally This is a terminal message for the given operation.
A WebSocket data message
An WsProtocol for https://github.com/enisdenjo/graphql-ws/blob/master/PROTOCOL.md
There was an error with the operation that cannot be represented by a GraphQL response. This is a terminal message that terminates the subscription.
Special Server message that indicates a malformed message
A GraphQL response was received
A WebSocket message sent by the server
A SubscriptionParser transforms JSON responses contained in WebSocket messages into parsed ApolloResponse
A factory for SubscriptionParser
A WsProtocol for https://github.com/apollographql/subscriptions-transport-ws/blob/master/PROTOCOL.md
A WebSocket text message
The low-level WebSocket API. Implement this interface to customize how WebSockets are handled
A NetworkTransport that uses WebSockets to execute GraphQL operations. Most of the time, it is used for subscriptions but some WsProtocol like GraphQLWsProtocol also allow executing queries and mutations over WebSockets.
A WsProtocol manages different flavours of WebSocket protocols.
Functions
Closes the websocket connection if the transport is a WebSocketNetworkTransport.
Creates a new WebSocketEngine from webSocketFactory