Module response

Module response 

Source

Structs§

Error
The response error type for GraphQL-over-HTTP server responses. As specified in the section 7.1.2 Errors and the Error Result Format subsection of the GraphQL specification.
ErrorLocation
A location describing the beginning of the associated syntax element causing the error.
ResponseBody
A response to a GraphQL request.

Constants§

GRAPHQL_LEGACY_RESPONSE_MEDIA_TYPE
The legacy type for GraphQL-over-HTTP server responses. As specified in the section 4.1 Media Types of the GraphQL-over-HTTP specification.
GRAPHQL_RESPONSE_MEDIA_TYPE
The preferred type for GraphQL-over-HTTP server responses. As specified in the section 4.1 Media Types of the GraphQL-over-HTTP specification.

Traits§

IntoError
A trait for types that can be converted into Error, a GraphQL HTTP Response error.