diff options
Diffstat (limited to 'doc/src/manual/cowboy.ezdoc')
-rw-r--r-- | doc/src/manual/cowboy.ezdoc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/src/manual/cowboy.ezdoc b/doc/src/manual/cowboy.ezdoc index a207afe..209d473 100644 --- a/doc/src/manual/cowboy.ezdoc +++ b/doc/src/manual/cowboy.ezdoc @@ -5,6 +5,12 @@ manipulating Ranch listeners. :: Types +: fields() = [atom() + | {atom(), cowboy_constraints:constraint() | [cowboy_constraints:constraint()]} + | {atom(), cowboy_constraints:constraint() | [cowboy_constraints:constraint()], any()}] + +Fields for match operations. Constraint(s) and default value are optional. + : http_headers() = [{binary(), iodata()}] HTTP headers as a list of key/values. |