aboutsummaryrefslogtreecommitdiffstats
path: root/test/websocket_handler.erl
AgeCommit message (Collapse)Author
2011-12-22Add ct tests for binary websocket framesLoïc Hoguin
2011-10-06Fix a crash in websocket_handshake when cowboy_http_req:compact/1 is usedLoïc Hoguin
Also add a call to compact/1 in the websocket test handler so we may catch bugs related to it faster later on.
2011-08-23Add WebSocket drafts 7, 8, 9 and 10 implementationLoïc Hoguin
The implementation is only partial for now but should work for all browsers implementing it.
2011-07-19Separate message and packet handling for websocketsLoïc Hoguin
Improves the readability of websocket handler code by having two functions: websocket_handle/3 handles the packets received from the socket, removing the tuple construct that was otherwise needed, so only websocket_handle(Data, Req, State) is needed now; websocket_info/3 handles the messages that the websocket handler process received, as websocket_info(Info, Req, State). Both functions return values are handled identically by Cowboy so nothing changes on that end.
2011-04-14Initial draft-hixie-thewebsocketprotocol-76 support.Loïc Hoguin