[−][src]Trait async_graphql_tide::RequestExt
Tide request extension
Required methods
#[must_use]fn body_graphql_opts<'async_trait>(
self,
opts: IntoQueryBuilderOpts
) -> Pin<Box<dyn Future<Output = Result<QueryBuilder, ParseRequestError>> + Send + 'async_trait>> where
Self: 'async_trait,
self,
opts: IntoQueryBuilderOpts
) -> Pin<Box<dyn Future<Output = Result<QueryBuilder, ParseRequestError>> + Send + 'async_trait>> where
Self: 'async_trait,
Similar to graphql, but you can set the options IntoQueryBuilderOpts
.
Provided methods
#[must_use]fn body_graphql<'async_trait>(
self
) -> Pin<Box<dyn Future<Output = Result<QueryBuilder, ParseRequestError>> + Send + 'async_trait>> where
Self: Send + 'async_trait,
self
) -> Pin<Box<dyn Future<Output = Result<QueryBuilder, ParseRequestError>> + Send + 'async_trait>> where
Self: Send + 'async_trait,
Convert a query to async_graphql::QueryBuilder
.
Implementations on Foreign Types
impl<State: Send + Sync + 'static> RequestExt<State> for Request<State>
[src]
fn body_graphql_opts<'async_trait>(
self,
opts: IntoQueryBuilderOpts
) -> Pin<Box<dyn Future<Output = Result<QueryBuilder, ParseRequestError>> + Send + 'async_trait>> where
Self: 'async_trait,
[src]
self,
opts: IntoQueryBuilderOpts
) -> Pin<Box<dyn Future<Output = Result<QueryBuilder, ParseRequestError>> + Send + 'async_trait>> where
Self: 'async_trait,