Module rate_limiter

Module rate_limiter 

Source

Structs§

RateLimiter

Enums§

Action
The action to take when a rate limiter violation is detected.
HttpMethods
Array of HTTP methods to apply rate limiting to.
LoggerType
Name of the type of logging endpoint to be used when action is log_only. The logging endpoint type is used to determine the appropriate log format to use when emitting log entries.
WindowSize
Number of seconds during which the RPS limit must be exceeded in order to trigger a violation.