diff options
author | Loïc Hoguin <[email protected]> | 2016-11-07 18:03:47 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2016-11-07 18:03:47 +0200 |
commit | 7b248e5163fd852d6defe967318da849433dadb1 (patch) | |
tree | 2db5fc09210cb77e77cf14a9ac61fef932131f15 /doc/src/manual/cowboy_req.header.asciidoc | |
parent | bd34dfdedd369b42b1e6920f60c32b0594802aa2 (diff) | |
download | cowboy-7b248e5163fd852d6defe967318da849433dadb1.tar.gz cowboy-7b248e5163fd852d6defe967318da849433dadb1.tar.bz2 cowboy-7b248e5163fd852d6defe967318da849433dadb1.zip |
Add man pages for the parse/match/binding cowboy_req functions
Diffstat (limited to 'doc/src/manual/cowboy_req.header.asciidoc')
-rw-r--r-- | doc/src/manual/cowboy_req.header.asciidoc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/src/manual/cowboy_req.header.asciidoc b/doc/src/manual/cowboy_req.header.asciidoc index a4d7007..d0d2052 100644 --- a/doc/src/manual/cowboy_req.header.asciidoc +++ b/doc/src/manual/cowboy_req.header.asciidoc @@ -8,10 +8,12 @@ cowboy_req:header - HTTP header [source,erlang] ---- -header(Name :: binary(), Req) -> header(Name, Req, undefined) -header(Name :: binary(), Req, Default) -> binary() | Default +header(Name, Req) -> header(Name, Req, undefined) +header(Name, Req, Default) -> binary() | Default -Req :: cowboy_req:req() +Name :: binary() +Req :: cowboy_req:req() +Default :: any() ---- Return the value for the given HTTP header. |