async_graphql::http

Function receive_json

source
pub async fn receive_json(
    body: impl AsyncRead,
) -> Result<Request, ParseRequestError>
Expand description

Receive a GraphQL request from a body as JSON.