diff options
Diffstat (limited to 'src/cowboy_http_req.erl')
-rw-r--r-- | src/cowboy_http_req.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cowboy_http_req.erl b/src/cowboy_http_req.erl index cf1790f..057ea4d 100644 --- a/src/cowboy_http_req.erl +++ b/src/cowboy_http_req.erl @@ -554,8 +554,8 @@ compact(Req) -> %% implementation to developers that needs low level access to the socket. %% %% It is preferred to use this in conjuction with the stream function support -%% in `set_resp_body/2' if this is used to write a response body directly to -%% the socket. This ensures that the response headers are set correctly. +%% in `set_resp_body_fun/3' if this is used to write a response body directly +%% to the socket. This ensures that the response headers are set correctly. -spec transport(#http_req{}) -> {ok, module(), inet:socket()}. transport(#http_req{transport=Transport, socket=Socket}) -> {ok, Transport, Socket}. |