WebSocketNetworkTransport
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.
See also
Functions
Link copied to clipboard
Close the connection to the server if it's open.
Link copied to clipboard
Closes the websocket connection if the transport is a WebSocketNetworkTransport.
Closes the websocket connection if the transport is a WebSocketNetworkTransport.
Link copied to clipboard
Executes the given ApolloRequest using WebSockets