Module matcher
Expand description
service::Matcher
s implementations to match on rama_http_types::Request
s.
See service::matcher
module for more information.
Modules§
- uri
- provides a
UriMatcher
matcher for matching requests based on their URI.
Structs§
- Domain
Matcher - Matcher based on the (sub)domain of the request’s URI.
- Header
Matcher - Matcher based on the
Request
’s headers. - Http
Matcher - A matcher that is used to match an http
Request
- Method
Matcher - A matcher that matches one or more HTTP methods.
- Path
Matcher - Matcher based on the URI path.
- UriMatcher
- Matcher the request’s URI, using a substring or regex pattern.
- UriParams
- parameters that are inserted in the
Context
, in case thePathMatcher
found a match for the givenRequest
. - UriParams
Deserialize Error - Error that can occur during the deserialization of the
UriParams
. - Version
Matcher - A matcher that matches one or more HTTP methods.
Enums§
- Http
Matcher Kind - A matcher that is used to match an http
Request