module
graphql_ws
graphql-ws: how GraphQL subscriptions run over a WebSocket.
Enums
- Event
A message from the server.
Functions
subscribe
pub fn subscribe(query: &str, variables: Option<&Value>) -> StringThe message that starts a subscription to query, with variables.
Constants
PROTOCOL
pub const PROTOCOL: &str = "graphql-transport-ws";The WebSocket subprotocol of GraphQL subscriptions: graphql-transport-ws.