Module gotham::router::route::matcher

source ·
Expand description

Defines the type RouteMatcher and default implementations.

Re-exports

pub use self::accept::AcceptHeaderRouteMatcher;
pub use self::and::AndRouteMatcher;
pub use self::any::AnyRouteMatcher;

Modules

Defines the AcceptHeaderRouterMatcher.
Defines the type AndRouteMatcher
Defines the type AnyRouteMatcher
Defines the ContentTypeHeaderRouteMatcher.

Structs

A RouteMatcher that succeeds when the Request has been made with an accepted HTTP request method.

Traits

Allow various types to represent themselves as a RouteMatcher
Determines if conditions required for the associated Route to be invoked by the Router have been met.