Expand description
Compile Shield config patterns into runtime path matchers.
Structs§
- Endpoint
Class - A compiled endpoint-class rule: requests whose path matches
matcherare limited per client atrate, grouped underclass. - Identifier
Endpoint - A compiled per-identifier rule: requests to a matching path are limited by a
value read from the request body field
body_field.
Functions§
- compile_
endpoint_ classes - Compile endpoint-class rules, parsing each rate against
default_window. - compile_
identifier_ endpoints - Compile per-identifier rules, parsing each rate against
default_window.