Plack::Middleware::Throttle::Daily - A Plack Middleware for rate-limiting incoming HTTP requests.
my $handler = builder { enable "Throttle::Daily", max => 2, backend => Plack::Middleware::Throttle::Backend::Hash->new(); sub { [ '200', [ 'Content-Type' => 'text/html' ], ['hello world'] ] }; };
How many request an host can do in one day.
How many requets can be done in one day.
franck cuny <franck@lumberjaph.net>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Plack::Middleware::Throttle, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plack::Middleware::Throttle
CPAN shell
perl -MCPAN -e shell install Plack::Middleware::Throttle
For more information on module installation, please visit the detailed CPAN module installation guide.