Expand description
A helper module that supports HTTP
Structs§
- Altair
Config Options altair - Altair config options
- Altair
Initial Environment State altair - Altair initial environment state
- Altair
Initial Environments altair - Altair initial environments setup
- Altair
Settings State altair - Altair application settings state
- Altair
Source altair - A builder for constructing an Altair HTML page.
- Altair
Window Options altair - Altair window options
- GraphQL
Playground Config playground - Config for GraphQL Playground
- GraphiQL
Plugin graphiql - GraphiQL
Source graphiql - A builder for constructing a GraphiQL (v2) HTML page.
- Multipart
Options - Options for
receive_multipart. - WebSocket
- A GraphQL connection over websocket.
Enums§
- Altair
Authorization Provider Input altair - Altair authorization provider input
- Altair
Http Verb altair - Altair supported HTTP verbs
- Altair
Settings Language altair - Altair supported languages
- Client
Message - A websocket message received from the client
- Credentials
graphiql - 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/mixedresponses. - default_
on_ connection_ init - Default connection initializer function.
- default_
on_ ping - Default ping handler function.
- graphiql_
plugin_ explorer graphiql - Generate simple explorer plugin for GraphiQL (v2)
- graphiql_
source graphiql - 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 playground - Generate the page for GraphQL Playground
- receive_
batch_ body - Receive a GraphQL request from a content type and body.
- receive_
batch_ cbor cbor - Receive a GraphQL batch request from a body as CBOR
- 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_
cbor cbor - Receive a GraphQL request from a body as CBOR.
- 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.