From 7b248e5163fd852d6defe967318da849433dadb1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= <essen@ninenines.eu>
Date: Mon, 7 Nov 2016 18:03:47 +0200
Subject: Add man pages for the parse/match/binding cowboy_req functions

---
 doc/src/manual/cowboy_req.header.asciidoc | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

(limited to 'doc/src/manual/cowboy_req.header.asciidoc')

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.
-- 
cgit v1.2.3

