mirror of
https://github.com/samsonjs/rack-attack.git
synced 2026-03-25 09:25:49 +00:00
Update README.md
This commit is contained in:
parent
5b864ca3d1
commit
8ed2d7aa14
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ The Rack::Attack middleware compares each request against *whitelists*, *blackli
|
|||
|
||||
## Usage
|
||||
|
||||
Define blacklists, throttles, and whitelists as blocks that return truthy of falsy values.
|
||||
Define blacklists, throttles, and whitelists as blocks that return truthy values if matched, falsy otherwise.
|
||||
A [Rack::Request](http://rack.rubyforge.org/doc/classes/Rack/Request.html) object is passed to the block (named 'req' in the examples).
|
||||
|
||||
### Blacklists
|
||||
|
|
|
|||
Loading…
Reference in a new issue