async_graphql::http

Function receive_batch_body

source
pub async fn receive_batch_body(
    content_type: Option<impl AsRef<str>>,
    body: impl AsyncRead + Send,
    opts: MultipartOptions,
) -> Result<BatchRequest, ParseRequestError>
Expand description

Receive a GraphQL request from a content type and body.