[−][src]Function async_graphql::http::receive_body
pub async fn receive_body(
content_type: Option<impl AsRef<str>>,
body: impl AsyncRead + Send + 'static,
opts: MultipartOptions
) -> Result<Request, ParseRequestError>
This is supported on crate feature
multipart
only.Receive a GraphQL request from a content type and body.