NAME

Plack::Middleware::Throttle::Daily - A Plack Middleware for rate-limiting incoming HTTP requests.

SYNOPSIS

my $handler = builder {
  enable "Throttle::Daily",
      max     => 2,
      backend => Plack::Middleware::Throttle::Backend::Hash->new();
  sub { [ '200', [ 'Content-Type' => 'text/html' ], ['hello world'] ] };
};

DESCRIPTION

How many request an host can do in one day.

OPTIONS

max

How many requets can be done in one day.

AUTHOR

franck cuny <franck@lumberjaph.net>

SEE ALSO

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.