Expand description
HTTP and WebSocket transport of the GraphQL layer.
Connections have threads; requests run on the serving thread through a
channel, as in crate::protocol, so the store needs no locks. After each
write every subscription runs again, and is sent if its answer changed.
WebSocket speaks the subprotocols graphql-ws (subscriptions-transport-ws,
which DeepClient uses) and graphql-transport-ws (the graphql-ws
library).
Structsยง
- Graphql
Server - Graphql
Shutdown - Stops a running
GraphqlServer::servefrom another thread.