mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 20:30:23 +00:00
Tweak small things in the cowboy manual
This commit is contained in:
parent
a24d48fec6
commit
0df88c0d0a
2 changed files with 4 additions and 4 deletions
|
@ -26,10 +26,10 @@ fields() :: [Name
|
||||||
| {Name, Constraints}
|
| {Name, Constraints}
|
||||||
| {Name, Constraints, Default}]
|
| {Name, Constraints, Default}]
|
||||||
|
|
||||||
Name :: atom()
|
Name :: atom()
|
||||||
Constraints :: Constraint | [Constraint]
|
Constraints :: Constraint | [Constraint]
|
||||||
Constraint :: cowboy_constraints:constraint()
|
Constraint :: cowboy_constraints:constraint()
|
||||||
Default :: any()
|
Default :: any()
|
||||||
----
|
----
|
||||||
|
|
||||||
Fields description for match operations.
|
Fields description for match operations.
|
||||||
|
|
|
@ -42,7 +42,7 @@ and `middlewares`.
|
||||||
Value::
|
Value::
|
||||||
|
|
||||||
The new value.
|
The new value.
|
||||||
|
+
|
||||||
The type of the value differs depending on the key.
|
The type of the value differs depending on the key.
|
||||||
|
|
||||||
== Return value
|
== Return value
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue