Module matcher
Expand description
service::Matchers implementations to match on rama_http_types::Requests.
See service::matcher module for more information.
Modules§
- uri
- provides a
UriMatchermatcher 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.
- Subdomain
Trie Matcher - A matcher that matches subdomains.
- UriMatcher
- Matcher the request’s URI, using a substring or regex pattern.
- UriParams
- parameters that are inserted in the [
Context], in case thePathMatcherfound 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