diff options
author | Loïc Hoguin <[email protected]> | 2013-01-05 22:04:52 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2013-01-05 22:04:52 +0100 |
commit | c930327fbff6bedb3607185b971b9a1fbed9af8c (patch) | |
tree | 00f28a9ca6e4c176e0acab864a02c6830b16ea23 /test/websocket_handler.erl | |
parent | 58e89e218991a8d04108616620de9bb99dbeb7c0 (diff) | |
download | cowboy-c930327fbff6bedb3607185b971b9a1fbed9af8c.tar.gz cowboy-c930327fbff6bedb3607185b971b9a1fbed9af8c.tar.bz2 cowboy-c930327fbff6bedb3607185b971b9a1fbed9af8c.zip |
Remove cowboy_req:transport/1
It was added to help with response body streaming functions.
But it was a clumsy solution that we discarded in favor of
passing socket and transport to said function. It was also
very odd compared to the rest of the cowboy_req interface.
If you used this function before, worry not, here's its
proper equivalent.
[Socket, Transport] = cowboy_req:get([socket, transport], Req)
Diffstat (limited to 'test/websocket_handler.erl')
0 files changed, 0 insertions, 0 deletions