mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 20:30:23 +00:00
Fix the documentation for the command flow
This commit is contained in:
parent
bec019dce5
commit
292e732abf
2 changed files with 8 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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()}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue