Module poem::guard[][src]

Expand description

Route match guards.

Structs

Guard for the and method.

Guard for the or method.

Traits

Represents a guard used for route selection.

Extension trait for Guard.

Functions

Predicate to matches CONNECT HTTP method.

Predicate to matches DELETE HTTP method.

Predicate to matches GET HTTP method.

Predicate to matches HEAD HTTP method.

Predicate to matches if request contains specified header and value.

Predicate to matches if request contains specified Host name.

Predicate to matches specified HTTP method.

Predicate to matches OPTIONS HTTP method.

Predicate to matches PATCH HTTP method.

Predicate to matches POST HTTP method.

Predicate to matches PUT HTTP method.

Predicate to matches TRACE HTTP method.