0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-15 20:50:24 +00:00

Add man pages for the parse/match/binding cowboy_req functions

This commit is contained in:
Loïc Hoguin 2016-11-07 18:03:47 +02:00
parent bd34dfdedd
commit 7b248e5163
No known key found for this signature in database
GPG key ID: 71366FF21851DF03
8 changed files with 371 additions and 7 deletions

View file

@ -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.