mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-15 12:40:25 +00:00
Reverse the order of arguments of match_* functions
Wasn't following the same order as the rest of the module.
This commit is contained in:
parent
4bc8e330fa
commit
21d9ebe33b
10 changed files with 41 additions and 41 deletions
|
@ -128,7 +128,7 @@ Return the requested URL excluding the path component.
|
|||
This function will always return `undefined` until the
|
||||
`cowboy_router` middleware has been executed.
|
||||
|
||||
: match_cookies(Req, Fields) -> Map
|
||||
: match_cookies(Fields, Req) -> Map
|
||||
|
||||
Types:
|
||||
|
||||
|
@ -153,7 +153,7 @@ be converted through the use of constraints, making this
|
|||
function able to extract, validate and convert values all
|
||||
in one step.
|
||||
|
||||
: match_qs(Req, Fields) -> Map
|
||||
: match_qs(Fields, Req) -> Map
|
||||
|
||||
Types:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue