Commit Graph

14 Commits

Author SHA1 Message Date
Mike Almond
576eee0816 [HIXIE] Reverting back to the proper response code.
Silly hixie, tricks are for kids
2012-02-01 21:21:11 -05:00
Mike Almond
2996c08728 [REFACTOR] Fixing some code based on unit tests
Change the response to send the proper header and fix the generate key method to fail properly when no spaces are present
2012-02-01 13:16:59 -05:00
Mike Almond
a18af41a74 [REFACTOR] Changing the handshake to return a guzzle object
Changing Hixie and RFC to return the same guzzle object instead of an array and a string
2012-01-31 22:13:20 -05:00
Chris Boden
67267bfd94 Cleanup
Using native Guzzle object in Hixie handshake instead of hack being done in App.  Thanks to @mtdowling for the lead.
2012-01-07 01:23:53 -05:00
Chris Boden
83f49f1f55 Ugly Hacks
Added some ugly hacks to fix Hixie:
* Hixie now should work no matter how small the I/O buffer is
* Hixie now works with the Guzzle library*
2012-01-07 00:40:31 -05:00
Chris Boden
e20a52dacc Guzzle Typecasting
Updated all WebSocket protocol version to accept a Guzzle Request object
2012-01-06 16:43:02 -05:00
Chris Boden
08fa8a948f Guzzle
Implementing Guzzle to parse incoming handshake request
Functional on RFC version
2012-01-06 16:18:12 -05:00
Chris Boden
28bccc4c07 Typo
Fixed spelling error in docs
2011-11-25 12:01:04 -05:00
Chris Boden
e6012d1685 No Mask on Frame
HyBi spec says server shouldn't mask payloads when delivering to client - now allow user to specify to mask or not; WebSocket by default will not mask, Framing on its own will
2011-11-25 10:42:35 -05:00
Chris Boden
d75113ec5e WebSocket versions
Allowed user to disable WebSocket versions
Change how versions are detected, responsibility is on the concrete version class instead of factory
2011-11-24 20:59:19 -05:00
Chris Boden
923b936e42 Refactoring
Removed WebSocket unframing code that was refactored in previous commits
Added ability to configure buffer size on socket server
2011-11-19 17:18:48 -05:00
Chris Boden
5653f01f2f Message buffering & Refactoring
Refactored unframe() methods into Message/Frame classes (per protocol version)
Change onRecv of WebSocket App to use new interfaces to test statuses, resulting in reuniting a message fragmented by TCP
Wrote unit test covering most of new HyBi10 Frame class
2011-11-18 16:37:32 -05:00
Chris Boden
47b7110dc1 Namespaces
Fixed all the namespaces to match new folder structure
2011-11-12 20:51:54 -05:00
Chris Boden
5386b4c066 Folder restructure
Just reorganized the folders.  Namespacing broken, unit tests broken, nothing works.
2011-11-12 14:29:10 -05:00