Struct prima_bridge::Request [−][src]
pub struct Request;
Expand description
A server request
Implementations
Useful type to construct new requests
pub fn graphql<S: Serialize>(
bridge: &Bridge,
graphql_body: impl Into<GraphQLBody<S>>
) -> PrimaBridgeResult<GraphQLRequest<'_>>
pub fn graphql<S: Serialize>(
bridge: &Bridge,
graphql_body: impl Into<GraphQLBody<S>>
) -> PrimaBridgeResult<GraphQLRequest<'_>>
Create a new GraphQL request
Create a rest request
Create a new GET request
Create a new POST request
Create a new PATCH request
Create a new DELETE request
Create a new PUT request
Auto Trait Implementations
impl RefUnwindSafe for Request
impl UnwindSafe for Request
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