pub async fn receive_request_opts<State: Clone + Send + Sync + 'static>(
    request: Request<State>,
    opts: MultipartOptions,
) -> tide::Result<async_graphql::Request> {
    receive_batch_request_opts(request, opts)
        .await?
        .into_single()
        .map_err(|e| tide::Error::new(StatusCode::BadRequest, e))
}
/// Convert a Tide request to a GraphQL request with options on how to receive multipart.
Convert a Tide request to a GraphQL request with options on how to receive multipart.
Convert a Tide request to a GraphQL request with options on how to receive multipart .
pub async fn receive_request_opts<State: Clone + Send + Sync + 'static>(
    request: Request<State>,
    opts: MultipartOptions,
) -> tide::Result<async_graphql::Request> {
    receive_batch_request_opts(request, opts)
        .await?
        .into_single()
        .map_err(|e| tide::Error::new(StatusCode::BadRequest, e))
}
pub async fn receive_request_opts < State : Clone + Send + Sync + ' static > ( request : Request < State > , opts : MultipartOptions , ) -> tide :: Result < async_graphql :: Request > { receive_batch_request_opts ( request , opts ) . await ? . into_single ( ) . map_err ( | e | tide :: Error :: new ( StatusCode :: BadRequest , e ) ) }
Convert a Tide request to a GraphQL request with options on how to receive multipart.
Convert a Tide request to a GraphQL request with options on how to receive multipart .
request
Request<State>
opts
MultipartOptions
request
Request<State>
opts
MultipartOptions