pub async fn receive_body(
content_type: Option<impl AsRef<str>>,
body: impl AsyncRead + Send,
opts: MultipartOptions,
) -> Result<Request, ParseRequestError>
Expand description
Receive a GraphQL request from a content type and body.
pub async fn receive_body(
content_type: Option<impl AsRef<str>>,
body: impl AsyncRead + Send,
opts: MultipartOptions,
) -> Result<Request, ParseRequestError>
Receive a GraphQL request from a content type and body.