diff options
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. |