Struct prima_bridge::GraphQLRequest [−][src]
pub struct GraphQLRequest<'a> { /* fields omitted */ }
Expand description
The GraphQLRequest is a struct that represent a GraphQL request to be done with the Bridge
Implementations
Trait Implementations
sets the raw body for the request it will get delivered in the request as is. Read more
sets a serializable body for the request
sets the destination path (relative to the url defined in the bridge) for the request
ignore the status code, and parse the results even if the response has a wrong status code. This is useful when you are dealing with an api that return errors with a not 2XX status codes. Read more
set request timeout
get request timeout
adds a new set of headers to the request. Any header already present gets merged.
adds a new set of headers to the request. Any header already present gets removed.
adds a new set of headers to the request. Any header already present gets merged.
add a custom header to the set of request headers
add a custom query string param
add a custom query string param
Auto Trait Implementations
impl<'a> !RefUnwindSafe for GraphQLRequest<'a>
impl<'a> Send for GraphQLRequest<'a>
impl<'a> Sync for GraphQLRequest<'a>
impl<'a> Unpin for GraphQLRequest<'a>
impl<'a> !UnwindSafe for GraphQLRequest<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more