diff options
author | Loïc Hoguin <[email protected]> | 2014-09-24 14:39:17 +0300 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2014-09-24 14:39:17 +0300 |
commit | aa4d86b81f6095316813c599659014c15bf9b935 (patch) | |
tree | d503405a06e70c314975cde6dbf706939825890a /doc/src/manual/cowboy_protocol.ezdoc | |
parent | 25259671f51c076720b64959a700263eaa0937b2 (diff) | |
download | cowboy-aa4d86b81f6095316813c599659014c15bf9b935.tar.gz cowboy-aa4d86b81f6095316813c599659014c15bf9b935.tar.bz2 cowboy-aa4d86b81f6095316813c599659014c15bf9b935.zip |
Remove the onrequest hook
It was redundant with middlewares. Allows us to save a few operations
for every incoming requests.
Diffstat (limited to 'doc/src/manual/cowboy_protocol.ezdoc')
-rw-r--r-- | doc/src/manual/cowboy_protocol.ezdoc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/doc/src/manual/cowboy_protocol.ezdoc b/doc/src/manual/cowboy_protocol.ezdoc index 6813295..335f2ff 100644 --- a/doc/src/manual/cowboy_protocol.ezdoc +++ b/doc/src/manual/cowboy_protocol.ezdoc @@ -14,7 +14,6 @@ as a Ranch protocol. | {max_keepalive, non_neg_integer()} | {max_request_line_length, non_neg_integer()} | {middlewares, [module()]} - | {onrequest, cowboy:onrequest_fun()} | {onresponse, cowboy:onresponse_fun()} | {timeout, timeout()}] @@ -67,10 +66,6 @@ Maximum length of the request line. List of middlewares to execute for every requests. -: onrequest (undefined) - -Fun called every time a request is received. - : onresponse (undefined) Fun called every time a response is sent. |