Function async_graphql::http::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.
pub async fn receive_json(
body: impl AsyncRead
) -> Result<Request, ParseRequestError>
Receive a GraphQL request from a body as JSON.