Modules
Structs
A logging filter. Logs all requests at debug level, and logs responses at error, warn or info
level depending on the status code (5xx, 4xx, and everything else)
Represents either the next Filter in the chain, or the actual endpoint if the chain is
empty or completed. Use its
next
method to call the next filter/endpoint if the
request should continue to be processed.Traits
A Filter is a reusable bit of logic which wraps an endpoint to provide pre- and post-processing.
Filters can call the
Next
argument to continue processing, or may return early to stop the
chain. Filters can be used for logging, authentication, cookie handling and many other uses.