Module async_graphql::http
source · Expand description
A helper module that supports HTTP
Structs
- Config for GraphQL Playground
- A builder for constructing a GraphiQL (v2) HTML page.
- Options for
receive_multipart
. - A GraphQL connection over websocket.
Enums
- A websocket message received from the client
- Indicates whether the user agent should send or receive user credentials (cookies, basic http auth, etc.) from the other domain in the case of cross-origin requests.
- Specification of which GraphQL Over WebSockets protocol is being utilized
- An enum representing the various forms of a WebSocket message.
Constants
- All known protocols based on WebSocket.
Functions
- Create a stream for
multipart/mixed
responses. - Generate the page for GraphIQL
- Check accept is multipart-mixed
- Parse a GraphQL request from a query string.
- Generate the page for GraphQL Playground
- Receive a GraphQL request from a content type and body.
- Receive a GraphQL batch request from a body as CBOR
- Receive a GraphQL batch request from a body as JSON.
- Receive a GraphQL request from a content type and body.
- receive_cbor
cbor
Receive a GraphQL request from a body as CBOR. - Receive a GraphQL request from a body as JSON.