Module matcher

Source
Expand description

service::Matchers implementations to match on http::Requests.

See service::matcher module for more information.

Re-exports§

pub use uri::UriMatcher;

Modules§

uri
provides a UriMatcher matcher for matching requests based on their URI.

Structs§

DomainMatcher
Matcher based on the (sub)domain of the request’s URI.
HeaderMatcher
Matcher based on the Request’s headers.
HttpMatcher
A matcher that is used to match an http Request
MethodMatcher
A matcher that matches one or more HTTP methods.
PathMatcher
Matcher based on the URI path.
UriParams
parameters that are inserted in the Context, in case the PathMatcher found a match for the given Request.
UriParamsDeserializeError
Error that can occur during the deserialization of the UriParams.
VersionMatcher
A matcher that matches one or more HTTP methods.

Enums§

HttpMatcherKind
A matcher that is used to match an http Request