Trait lando::RequestExt
[−]
[src]
pub trait RequestExt { fn query_string_parameters(&self) -> HashMap<String, String>; fn path_parameters(&self) -> HashMap<String, String>; fn stage_variables(&self) -> HashMap<String, String>; fn request_context(&self) -> RequestContext; }
Extentions for http::Request
objects that
provide access to API gateway features
Required Methods
fn query_string_parameters(&self) -> HashMap<String, String>
Return query string parameters associated with the API gateway request
fn path_parameters(&self) -> HashMap<String, String>
Return path parameters associated with the API gateway request
fn stage_variables(&self) -> HashMap<String, String>
Return stage variables associated with the API gateway request
fn request_context(&self) -> RequestContext
Return request context assocaited with the API gateway request