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_spdy.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_spdy.ezdoc')
-rw-r--r-- | doc/src/manual/cowboy_spdy.ezdoc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/doc/src/manual/cowboy_spdy.ezdoc b/doc/src/manual/cowboy_spdy.ezdoc index 51a2110..534434c 100644 --- a/doc/src/manual/cowboy_spdy.ezdoc +++ b/doc/src/manual/cowboy_spdy.ezdoc @@ -6,7 +6,6 @@ The `cowboy_spdy` module implements SPDY/3 as a Ranch protocol. : opts() = [{env, cowboy_middleware:env()} | {middlewares, [module()]} - | {onrequest, cowboy:onrequest_fun()} | {onresponse, cowboy:onresponse_fun()}] Configuration for the SPDY protocol handler. @@ -30,10 +29,6 @@ Initial middleware environment. 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. |