mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-15 20:50:24 +00:00
Remove the onrequest hook
It was redundant with middlewares. Allows us to save a few operations for every incoming requests.
This commit is contained in:
parent
25259671f5
commit
aa4d86b81f
12 changed files with 86 additions and 260 deletions
|
@ -126,8 +126,7 @@ Types:
|
|||
Return the requested URL excluding the path component.
|
||||
|
||||
This function will always return `undefined` until the
|
||||
`cowboy_router` middleware has been executed. This includes
|
||||
the `onrequest` hook.
|
||||
`cowboy_router` middleware has been executed.
|
||||
|
||||
: match_cookies(Req, Fields) -> Map
|
||||
|
||||
|
@ -371,8 +370,7 @@ Types:
|
|||
Return the requested URL.
|
||||
|
||||
This function will always return `undefined` until the
|
||||
`cowboy_router` middleware has been executed. This includes
|
||||
the `onrequest` hook.
|
||||
`cowboy_router` middleware has been executed.
|
||||
|
||||
: version(Req) -> Version
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue