Commit Graph

12 Commits

Author SHA1 Message Date
Chris Boden
3c3588fc8b MessageStreamer refactor
Remove notion of context and nested callbacks
Each connection will create an instance of MessageParser to hold message/frame state
2015-12-22 20:16:55 -05:00
Chris Boden
d8babac7e7 Fixed sub-protocol handling 2015-05-31 15:43:58 -04:00
Chris Boden
e45cd158bd Add support for Sub-Protocol selection 2015-05-31 15:24:44 -04:00
Chris Boden
af15a56cb4 Custom error responses for failed handshake
Including React SocketClient for client tests
Use re-entrants in test server
2015-05-26 19:07:26 -04:00
Chris Boden
791ebaeb24 Replace evenement with callback interface
Use strict ContextInterface instead of event emitter
Keep message/frame within connection, not parser
Expect only 1 of specific WebSocket headers
Non-UTF-8 server tests passing :-)
2015-05-23 12:29:05 -04:00
matt
de76869847 Fixed up ResponseVerifier for PSR-7 2015-05-22 16:50:07 -04:00
Chris Boden
c280d8137f Update to PSR-7 v1, update to match API changes 2015-05-22 09:49:14 -04:00
matt
9890a8d7e1 Client side tests and components 2015-03-16 16:23:01 -04:00
matt
1833a0f3ec Passing some ab tests 2015-03-16 00:15:33 -04:00
matt
8653b92115 Create MessageStreamer, move some things 2015-03-15 23:15:41 -04:00
Chris Boden
5e79598448 Separate negotiation and validation 2014-11-29 13:08:04 -05:00
Chris Boden
b685f6c928 Separating protocol parsing, message handling 2014-09-08 22:05:03 -04:00