async_graphql

Module http

Source
Expand description

A helper module that supports HTTP

Structs§

AltairConfigOptions
Altair config options
AltairInitialEnvironmentState
Altair initial environment state
AltairInitialEnvironments
Altair initial environments setup
AltairSettingsState
Altair application settings state
AltairSource
A builder for constructing an Altair HTML page.
AltairWindowOptions
Altair window options
GraphQLPlaygroundConfig
Config for GraphQL Playground
GraphiQLPlugin
GraphiQLSource
A builder for constructing a GraphiQL (v2) HTML page.
MultipartOptions
Options for receive_multipart.
WebSocket
A GraphQL connection over websocket.

Enums§

AltairAuthorizationProviderInput
Altair authorization provider input
AltairHttpVerb
Altair supported HTTP verbs
AltairSettingsLanguage
Altair supported languages
ClientMessage
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.
WebSocketProtocols
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_cborcbor
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_cborcbor
Receive a GraphQL request from a body as CBOR.
receive_json
Receive a GraphQL request from a body as JSON.

Type Aliases§

DefaultOnConnInitType
Default connection initializer type.
DefaultOnPingType
Default ping handler type.