[erlang-questions] Cowboy - cowboy_req:reply

Jesper Louis Andersen <>
Mon Aug 1 16:58:15 CEST 2016


On Mon, Aug 1, 2016 at 4:40 PM, Theepan <> wrote:

> What is the return value of cowboy_req:reply? {ok, Req2} or Req2.
>

Both!

Cowboy version 1.x uses {ok, Req2}

Cowboy version 2.x (when it is released) uses Req2.

You may want to make sure you are reading the right version of the
documentation.



-- 
J.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160801/7bd6479d/attachment.html>


More information about the erlang-questions mailing list