aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_stream.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2017-10-02 10:46:45 +0200
committerLoïc Hoguin <[email protected]>2017-10-02 10:46:45 +0200
commit292e732abf6ae07d0c82e9e46c154987710a5bdf (patch)
tree1a13c1cf93769ded1d90426fca860631c3e0045a /src/cowboy_stream.erl
parentbec019dce545872f7c7e5da520e46febe32a381f (diff)
downloadcowboy-292e732abf6ae07d0c82e9e46c154987710a5bdf.tar.gz
cowboy-292e732abf6ae07d0c82e9e46c154987710a5bdf.tar.bz2
cowboy-292e732abf6ae07d0c82e9e46c154987710a5bdf.zip
Fix the documentation for the command flow
Diffstat (limited to 'src/cowboy_stream.erl')
-rw-r--r--src/cowboy_stream.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_stream.erl b/src/cowboy_stream.erl
index b0a55f8..f360a08 100644
--- a/src/cowboy_stream.erl
+++ b/src/cowboy_stream.erl
@@ -34,7 +34,7 @@
| {data, fin(), iodata()}
| {push, binary(), binary(), binary(), inet:port_number(),
binary(), binary(), cowboy:http_headers()}
- | {flow, auto | integer()}
+ | {flow, pos_integer()}
| {spawn, pid(), timeout()}
| {error_response, cowboy:http_status(), cowboy:http_headers(), iodata()}
| {switch_protocol, cowboy:http_headers(), module(), state()}