diff options
author | Loïc Hoguin <[email protected]> | 2012-03-15 21:53:47 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2012-03-15 22:29:38 +0100 |
commit | 8e2cc3d7f1c30212450e36f9ae725244e79451fb (patch) | |
tree | 4d9dc1d8b1588885df53157a249a74888aa86a6a /CHANGELOG.md | |
parent | 36a6823e50e36c201df6c7a88a4c77cdaac7f2e6 (diff) | |
download | cowboy-8e2cc3d7f1c30212450e36f9ae725244e79451fb.tar.gz cowboy-8e2cc3d7f1c30212450e36f9ae725244e79451fb.tar.bz2 cowboy-8e2cc3d7f1c30212450e36f9ae725244e79451fb.zip |
Add an 'onrequest' hook for HTTP
This new protocol option is a fun.
It expects a single arg, the Req, and should only return a possibly
modified Req. This can be used for many things like URL rewriting,
access logging or listener-wide authentication.
If a reply is sent inside the hook, then Cowboy will consider the
request handled and will move on to the next one.
Diffstat (limited to 'CHANGELOG.md')
0 files changed, 0 insertions, 0 deletions