![]() |
![]()
| ![]() |
![]()
NAMEPlack::Middleware::Throttle::Interval - A Plack Middleware for rate-limiting incoming HTTP requests. SYNOPSISmy $handler = builder { enable "Throttle::Interval", min => 2, backend => Plack::Middleware::Throttle::Backend::Hash->new(); sub { [ '200', [ 'Content-Type' => 'text/html' ], ['hello world'] ] }; }; DESCRIPTIONHow many request an host can do between an interval of time (in seconds). OPTIONS
AUTHORfranck cuny <franck@lumberjaph.net> SEE ALSOLICENSEThis library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
|