[][src]Trait async_graphql_tide::RequestExt

pub trait RequestExt<State: Clone + Send + Sync + 'static>: Sized {
#[must_use]    fn body_graphql_opts<'async_trait>(
        self,
        opts: MultipartOptions
    ) -> Pin<Box<dyn Future<Output = Result<Request>> + Send + 'async_trait>>
    where
        Self: 'async_trait
; #[must_use] fn body_graphql<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<Request>> + Send + 'async_trait>>
    where
        Self: Send + 'async_trait
, { ... } }

Tide request extension

Required methods

#[must_use]fn body_graphql_opts<'async_trait>(
    self,
    opts: MultipartOptions
) -> Pin<Box<dyn Future<Output = Result<Request>> + Send + 'async_trait>> where
    Self: 'async_trait, 

Similar to RequestExt::body_graphql, but you can set the options async_graphql::MultipartOptions.

Loading content...

Provided methods

#[must_use]fn body_graphql<'async_trait>(
    self
) -> Pin<Box<dyn Future<Output = Result<Request>> + Send + 'async_trait>> where
    Self: Send + 'async_trait, 

Convert a query to async_graphql::Request.

Loading content...

Implementations on Foreign Types

impl<State: Clone + Send + Sync + 'static> RequestExt<State> for Request<State>[src]

Loading content...

Implementors

Loading content...