Skip to main content

Request

Trait Request 

Source
pub trait Request {
    // Required methods
    fn method(&self) -> Method;
    fn path(&self) -> &'static str;
    fn parameters(&self) -> Vec<(String, String)>;

    // Provided methods
    fn sensitive_parameter_names(&self) -> &'static [&'static str] { ... }
    fn request_parts(&self) -> RequestParts { ... }
}
Expand description

Defines the behavior required from a request participant in the endpoint workflow.

Required Methods§

Source

fn method(&self) -> Method

Describes the provider wire contract for this Gingr request.

Source

fn path(&self) -> &'static str

Describes the provider wire contract for this Gingr request.

Source

fn parameters(&self) -> Vec<(String, String)>

Describes the provider wire contract for this Gingr request.

Provided Methods§

Source

fn sensitive_parameter_names(&self) -> &'static [&'static str]

Describes the provider wire contract for this Gingr request.

Source

fn request_parts(&self) -> RequestParts

Describes the provider wire contract for this Gingr request.

Implementors§