A per-route throttle policy. Stored in Marten.settings.throttle.rules and matched in
declaration order against incoming requests.
Constructors
new(name :
String, matcher :
Matcher, limit :
Int32, window :
Time::Span, strategy :
StrategyName =
Strategy::FixedWindow, methods :
Array(
String) |
Nil = nil, identifier :
Settings::ClientIdentifier |
Nil = nil)
Source