Module juniper::http

source ·
Expand description

Utilities for building HTTP endpoints in a library-agnostic manner

Modules§

  • Utility module to generate a GraphiQL interface
  • Utility module to generate a GraphQL Playground interface.

Structs§

  • The expected structure of the decoded JSON document for either POST or GET requests.
  • Simple wrapper around the result from executing a GraphQL query

Enums§

  • Simple wrapper around GraphQLRequest to allow the handling of Batch requests.
  • Simple wrapper around the result (GraphQLResponse) from executing a GraphQLBatchRequest

Functions§

  • Resolve a GraphQL subscription into Value<ValuesStream<S> using the specified schema and context. This is a wrapper around the resolve_into_stream function exposed at the top level of this crate.