diff options
author | Loïc Hoguin <[email protected]> | 2012-12-02 21:37:24 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2012-12-02 21:37:24 +0100 |
commit | 067958abd200c1c3fbc1956d4c6c30bc5efd344c (patch) | |
tree | fabfac36ff503b8a6fac1ad527d79ac440117e98 /examples/echo_post | |
parent | 3e0e50731156647574e08e277cb39fe2fd63a86d (diff) | |
download | cowboy-067958abd200c1c3fbc1956d4c6c30bc5efd344c.tar.gz cowboy-067958abd200c1c3fbc1956d4c6c30bc5efd344c.tar.bz2 cowboy-067958abd200c1c3fbc1956d4c6c30bc5efd344c.zip |
Add more frame types available in websocket replies
We can now reply empty close, ping and pong frames, or close
frames with a payload.
This means that we can send a frame and then close the connection
in a single operation.
If a close packet is sent, the connection is closed immediately,
even if there was frames that remained to be sent. Cowboy will
silently drop any extra frames in the list given as a reply.
Diffstat (limited to 'examples/echo_post')
0 files changed, 0 insertions, 0 deletions