Expand description
A helper module that supports HTTP
Structs§
- GraphQL
Playground Config - Config for GraphQL Playground
- GraphiQL
Plugin - GraphiQL
Source - A builder for constructing a GraphiQL (v2) HTML page.
- Multipart
Options - Options for
receive_multipart
. - WebSocket
- A GraphQL connection over websocket.
Enums§
- Client
Message - A websocket message received from the client
- Credentials
- 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.
- WebSocket
Protocols - Specification of which GraphQL Over WebSockets protocol is being utilized
- WsMessage
- An enum representing the various forms of a WebSocket message.
Constants§
- ALL_
WEBSOCKET_ PROTOCOLS - All known protocols based on WebSocket.
Functions§
- create_
multipart_ mixed_ stream - Create a stream for
multipart/mixed
responses. - default_
on_ connection_ init - Default connection initializer function.
- default_
on_ ping - Default ping handler function.
- graphiql_
plugin_ explorer - Generate simple explorer plugin for GraphiQL (v2)
- graphiql_
source - Generate the page for GraphIQL
- is_
accept_ multipart_ mixed - Check accept is multipart-mixed
- parse_
query_ string - Parse a GraphQL request from a query string.
- playground_
source - Generate the page for GraphQL Playground
- receive_
batch_ body - Receive a GraphQL request from a content type and body.
- receive_
batch_ json - Receive a GraphQL batch request from a body as JSON.
- receive_
body - Receive a GraphQL request from a content type and body.
- receive_
json - Receive a GraphQL request from a body as JSON.
Type Aliases§
- Default
OnConn Init Type - Default connection initializer type.
- Default
OnPing Type - Default ping handler type.