Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Plack::Middleware::ThrUsereContributedPPack::Middleware::Throttle::Interval(3)

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

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

DESCRIPTION
       How many	request	an host	can do between an interval of time (in
       seconds).

OPTIONS
       min How many requets can	be done	in an interval of time.

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.

perl v5.32.0			  2010Plack::Middleware::Throttle::Interval(3)

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | AUTHOR | SEE ALSO | LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Plack::Middleware::Throttle::Interval&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help