aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/manual/cowboy_req.ezdoc
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2014-10-04 13:21:16 +0300
committerLoïc Hoguin <[email protected]>2014-10-04 13:21:16 +0300
commit21d9ebe33b3eaf65a4118fc5c3e7364e64d63769 (patch)
tree5a679864c47cd50f55ad06831a36a92a03d3ad59 /doc/src/manual/cowboy_req.ezdoc
parent4bc8e330fa239d1ade18a5d75ea018f1a954bfb3 (diff)
downloadcowboy-21d9ebe33b3eaf65a4118fc5c3e7364e64d63769.tar.gz
cowboy-21d9ebe33b3eaf65a4118fc5c3e7364e64d63769.tar.bz2
cowboy-21d9ebe33b3eaf65a4118fc5c3e7364e64d63769.zip
Reverse the order of arguments of match_* functions
Wasn't following the same order as the rest of the module.
Diffstat (limited to 'doc/src/manual/cowboy_req.ezdoc')
-rw-r--r--doc/src/manual/cowboy_req.ezdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/manual/cowboy_req.ezdoc b/doc/src/manual/cowboy_req.ezdoc
index 9a2f34f..9b73886 100644
--- a/doc/src/manual/cowboy_req.ezdoc
+++ b/doc/src/manual/cowboy_req.ezdoc
@@ -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: