Module router

Module router 

Source
Expand description

Dispatch requests to the appropriate handler.

Structs§

MethodAllowList
The variant of AllowedMethods that only allows a finite set of HTTP methods for a given path.

Enums§

AllowedMethods
The set of HTTP methods that are allowed for a given path.

Constants§

DEFAULT_FALLBACK
A handle to add default_fallback() as a fallback handler to your Pavex application.

Functions§

default_fallback
The default fallback handler for incoming requests that don’t match any of the routes you registered.