async_graphql::http

Function receive_batch_json

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

Receive a GraphQL batch request from a body as JSON.