diff options
author | Loïc Hoguin <[email protected]> | 2011-10-20 14:11:17 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2011-10-20 14:11:17 +0200 |
commit | 381c1780738cbb02f0065f92991bc43ccd53a0c5 (patch) | |
tree | 275dd6e201fbd97725b4b74c156e69a0db52a939 /src/cowboy_app.erl | |
parent | d4088e7a46ef696e91fdea5d15f2ae35282b1b99 (diff) | |
download | cowboy-381c1780738cbb02f0065f92991bc43ccd53a0c5.tar.gz cowboy-381c1780738cbb02f0065f92991bc43ccd53a0c5.tar.bz2 cowboy-381c1780738cbb02f0065f92991bc43ccd53a0c5.zip |
Add a cowboy_http_req:upgrade_reply/3 function and use it for websockets
This function doesn't try to add any additional header besides the
Connection: Upgrade header. It also doesn't accept a body.
It should be used for the intermediate reply to an upgrade process,
before the real reply is sent (if any, for example when using TLS).
Diffstat (limited to 'src/cowboy_app.erl')
0 files changed, 0 insertions, 0 deletions