mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 20:30:23 +00:00
length can be a non_neg_integer or infinity
This commit is contained in:
parent
8ef1382f0a
commit
f302ce2b83
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@
|
|||
-export_type([cookie_opts/0]).
|
||||
|
||||
-type read_body_opts() :: #{
|
||||
length => non_neg_integer(),
|
||||
length => non_neg_integer() | infinity,
|
||||
period => non_neg_integer(),
|
||||
timeout => timeout()
|
||||
}.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue