Package com.apollographql.apollo3.network.ws
Types
A WsProtocol for https://docs.aws.amazon.com/appsync/latest/devguide/real-time-websocket-client.html
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
A WsProtocol for https://github.com/apollographql/subscriptions-transport-ws/blob/master/PROTOCOL.md
The low-level WebSocket API. Implement this interface to customize how WebSockets are handled
A NetworkTransport that works with WebSockets. Usually it is used with subscriptions but some WsProtocols like GraphQLWsProtocol also support queries and mutations.
A WsProtocol is responsible for handling the details of the WebSocket protocol.
Functions
A shorthand for WebSocketNetworkTransport.closeConnection. If the NetworkTransport is not a WebSocketNetworkTransport, a NotImplementedError is thrown.