diff options
| author | franck cuny <franck@lumberjaph.net> | 2010-04-28 09:18:39 +0200 |
|---|---|---|
| committer | franck cuny <franck@lumberjaph.net> | 2010-04-28 09:18:39 +0200 |
| commit | 22a2333a63dc7703c93342ef9824b7d22e716316 (patch) | |
| tree | 0df06881ef313997bfdc4dd07edc374862c1c641 /README | |
| parent | POD fix (diff) | |
| download | plack-middleware-throttle-22a2333a63dc7703c93342ef9824b7d22e716316.tar.gz | |
Checking in changes prior to tagging of version 0.01. Changelog diff is:master
Diffstat (limited to 'README')
| -rw-r--r-- | README | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -7,7 +7,7 @@ SYNOPSIS enable "Throttle::Hourly", max => 2, backend => Plack::Middleware::Throttle::Backend::Hash->new(), - path => qr{^/foo}; + path => qr{^/api}; sub { [ '200', [ 'Content-Type' => 'text/html' ], ['hello world'] ] }; }; @@ -50,6 +50,9 @@ OPTIONS The cache object must implement get, set and incr methods. By default, you can use "Plack::Middleware::Throttle::Backend::Hash". + By default, if no backend is specified, + Plack::Middleware::Throttle::Backend::Hash is used. + key_prefix Key to prefix sessions entry in the cache. |
