0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-15 04:30:25 +00:00

Change wording in the guide to remove ambiguity

This commit is contained in:
Loïc Hoguin 2014-04-26 14:32:56 +02:00
parent 980342f73c
commit 87cd5a2206

View file

@ -62,8 +62,10 @@ or `{error, atom()}`. This includes the following functions:
also includes the `chunk/2` function which always returns also includes the `chunk/2` function which always returns
`ok`. `ok`.
The final group modifies the Req object, so it always return The final group modifies the Req object state without
a new `Req`. It includes the following functions: `compact/1`, performing any immediate operations. As these functions
can't fail, they always return a new `Req` directly.
This includes the following functions: `compact/1`,
`delete_resp_header/2`, `set_meta/3`, `set_resp_body/2`, `delete_resp_header/2`, `set_meta/3`, `set_resp_body/2`,
`set_resp_body_fun/{2,3}`, `set_resp_cookie/4`, `set_resp_header/3`. `set_resp_body_fun/{2,3}`, `set_resp_cookie/4`, `set_resp_header/3`.