Loïc Hoguin
5ef4a15b48
Allow passing the Req and an updated Opts when upgrading protocols
2012-12-03 15:52:09 +01:00
Loïc Hoguin
067958abd2
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.
2012-12-02 21:37:24 +01:00
Loïc Hoguin
916bfde1f8
Fix a test that worked intermittently
2012-11-27 17:31:54 +01:00
Loïc Hoguin
09914c4693
Allow websocket handlers to reply more than one frame
...
Instead of returning {text, Data}, you can now return
[{text, Data}, {text, Data2}, ...].
2012-10-11 21:46:43 +02:00
Loïc Hoguin
aeb86e70c1
Add crypto into the required applications
...
As suggested by @prof3ta.
2012-10-11 20:13:23 +02:00
Loïc Hoguin
e4124de2c7
Switch to Ranch for connection handling
...
This is the first of many API incompatible changes.
You have been warned.
2012-08-27 11:50:35 +02:00
Loïc Hoguin
0c2e2224e3
Update version to 0.6.0
...
Also update the CHANGELOG and copyright years.
2012-05-23 14:53:48 +02:00
Magnus Klaar
0b15ed914d
Add support for fragmented websocket messages
2012-04-05 22:02:04 +02:00
Loïc Hoguin
7a68a38e5a
Add ct tests for binary websocket frames
2011-12-22 20:19:05 +01:00
Loïc Hoguin
9800348c21
Move the websocket tests in a separate suite
2011-12-22 20:06:58 +01:00