0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 12:20:24 +00:00

Fix the documentation for the command flow

This commit is contained in:
Loïc Hoguin 2017-10-02 10:46:45 +02:00
parent bec019dce5
commit 292e732abf
No known key found for this signature in database
GPG key ID: 71366FF21851DF03
2 changed files with 8 additions and 2 deletions

View file

@ -145,7 +145,13 @@ any server push mechanism.
=== flow
TODO
[source,erlang]
----
{flow, pos_integer()}
----
Request more data to be read from the request body. The
exact behavior depends on the protocol.
=== spawn

View file

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