Chris Boden
ad302a00d1
WAMP incoming functionality
...
WAMP server interface initial incoming message functionality
Able to receive and pass on client to server messages to attached interface
2012-01-13 23:46:30 -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
feb6c5ab57
URI verification
...
Added code in handshake to verify the URI
Updated unit testing to reflect this
2011-12-17 15:46:44 -05:00
Chris Boden
788b1f66cc
RFC handshake verification + unit tests
...
Went through section 4 of RFC 6455 making sure incoming handshake was valid with accompanying unit tests
2011-12-02 23:58:08 -05:00
Chris Boden
1f608f1d3a
Stubs for RFC protocol version
2011-11-30 10:08:11 -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
02ffd6f782
Interface change
...
Changed onRecv to onMessage in Interface to match a standard api
Removed Frame::__toString methods - could imply different return expectation
2011-11-20 14:53:13 -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