Struct chilli::routing::MapAdapter
[−]
[src]
pub struct MapAdapter<'m> { /* fields omitted */ }
Does the URL matching and building based on runtime information.
Methods
impl<'m> MapAdapter<'m>
[src]
pub fn new(
map: &Map,
host: String,
path: String,
query_string: Option<String>,
method: Method
) -> MapAdapter
[src]
map: &Map,
host: String,
path: String,
query_string: Option<String>,
method: Method
) -> MapAdapter
pub fn matched(&self) -> MapAdapterMatched
[src]
pub fn allowed_methods(&self) -> Vec<Method>
[src]
Get the valid methods that match for the given path.