0
Fork 0
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:
Steven Magelowitz 2017-04-20 15:12:23 -07:00 committed by Loïc Hoguin
parent 8ef1382f0a
commit f302ce2b83
No known key found for this signature in database
GPG key ID: 71366FF21851DF03

View file

@ -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()
}.