diff options
author | Loïc Hoguin <[email protected]> | 2018-11-04 11:51:35 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-11-04 11:58:59 +0100 |
commit | 8c9ad7bf078871295e391f416bfcb10c9156a35f (patch) | |
tree | f92cf4f4ff6f978405cf8171e86b44de27f91265 /doc/src/guide/resource_design.asciidoc | |
parent | bf7ccc8623610d34cf3323db776b280a50275678 (diff) | |
download | cowboy-8c9ad7bf078871295e391f416bfcb10c9156a35f.tar.gz cowboy-8c9ad7bf078871295e391f416bfcb10c9156a35f.tar.bz2 cowboy-8c9ad7bf078871295e391f416bfcb10c9156a35f.zip |
Add the rate_limited/2 REST callback
Diffstat (limited to 'doc/src/guide/resource_design.asciidoc')
-rw-r--r-- | doc/src/guide/resource_design.asciidoc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/src/guide/resource_design.asciidoc b/doc/src/guide/resource_design.asciidoc index fa0c612..4ea0390 100644 --- a/doc/src/guide/resource_design.asciidoc +++ b/doc/src/guide/resource_design.asciidoc @@ -122,6 +122,9 @@ Can access to a resource be forbidden regardless of access being authorized? A simple example of that is censorship of a resource. Implement the `forbidden` callback. +Can access be rate-limited for authenticated users? Use the +`rate_limited` callback. + Are there any constraints on the length of the resource URI? For example, the URI may be used as a key in storage and may have a limit in length. Implement `uri_too_long`. |