Commit Graph

15 Commits

Author SHA1 Message Date
Chris Boden
ac4d13cc09 Inject RequestVerfier instead of instantiating 2016-02-15 17:03:10 -05:00
Chris Boden
e75c843fc9 Rename Negotiator -> ServerNegotiator for consistence 2016-02-10 17:56:28 -05:00
Chris Boden
60ce5e00ff Renamed some classes, less depth 2016-02-08 22:21:56 -05:00
Chris Boden
59a30c3b72 Replace slow validator with preg_match UTF8 check 2016-01-12 20:44:07 -05:00
Chris Boden
35fa78c0c1 Cleanup test automation 2016-01-10 10:42:48 -05:00
matt
c31bea9f30 Fixup tests for new MessageStreamer 2015-12-26 14:31:45 -05:00
Chris Boden
1579666238 Accept exception factory for performance gains 2015-12-22 21:11:46 -05:00
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
06263cd9a5 Reverse the order of context to make optional 2015-06-04 23:20:05 -04:00
Chris Boden
59464f855c Replace ContextInterface with callable's
Replace ContextInterface with callable's
Move message/frame validation back into streamer
Always return frame objects from check
Move close code validation to validator, not base element
2015-06-01 22:39:17 -04:00
Chris Boden
5cdd8959dc Refactoring
onMessage delivers unMaked payload
msg validation moved from Message to MessageValidation
Unify return types
Context return should be input
Remove deprecated Connection
2015-05-30 23:27:02 -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
1c6a486e8a Fixed failing UTF-8 tests, increased performance 2015-05-24 11:12:59 -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
1970699b75 Autobahn test script 2015-03-16 00:22:38 -04:00