Commit Graph

336 Commits

Author SHA1 Message Date
Chris Boden
d0e730ddfe Travis CI
Added config file for travis-ci.org
2012-01-30 23:17:21 -05:00
Chris Boden
6f244fc659 Vendor spec
Manually overrode Guzzle in composer to not fetch Guzzle's reps as they're not needed for what's used in Ratchet
Removed SplClassLoader in favour of Composer's CladdLoader
2012-01-30 21:52:29 -05:00
Chris Boden
c18cc18bb8 Working Composer
Deps, versioning, autoloader from composer implemented
2012-01-30 21:41:49 -05:00
Chris Boden
95828382c3 Composer
Removed git submodules
Added composer.json file for deps and info
2012-01-30 17:51:21 -05:00
Chris Boden
451f7f4235 Init NS Refactor
Started refactor of namespaces from "app" to "component"
Added ConnectionInterface to replace concrete Connection
Removed socket config classes
2012-01-30 17:35:49 -05:00
Chris Boden
ad9b8c1644 psr convention
Renamed lib to src
2012-01-30 17:11:30 -05:00
Chris Boden
6289b2868e ReadMe
Updated the README file
2012-01-30 14:41:43 -05:00
Chris Boden
3d41152b41 Merge branch 'refs/heads/wamp' 2012-01-30 14:37:39 -05:00
Chris Boden
aceb2c9006 WAMP Codes
Changed the WAMP codes back into constants.
Added the new Welcome constant (not yet implemented)
2012-01-20 17:48:35 -05:00
Chris Boden
4372f9a8c3 Updated Guzzle
Updated Guzzle to v2.0.2 as previous branch 2.0b was removed
2012-01-19 21:33:45 -05:00
Chris Boden
3372f72344 WAMP FUNCTIONAL
RPC return message
RPC return error

WAMP protocol functionally complete!
2012-01-19 21:20:36 -05:00
Chris Boden
f84be39fcf WAMP server prefix
Server to client set Prefix in WAMP working via lambda in Connection object
2012-01-18 08:06:02 -05:00
Chris Boden
dbcb6f2cde WAMP Cleanup
Fixed a bug in getURI
Cleaned up roc calls - cleaner api, no more call_() calls
2012-01-17 22:47:17 -05:00
Chris Boden
eb82a7ab04 WAMP Prefixes
WAMP Client to server prefixes and transparent interpretation to application working
2012-01-17 21:05:32 -05:00
Chris Boden
b2e4578e19 WAMP onCall
Functioning onCall on WAMP
Fixed bug on Event - fluent interface (had broken factory)
2012-01-17 20:39:53 -05:00
Chris Boden
5e82fc76c6 Factory Caching
If a Command class was found in the factory save its class name. This prevents looping and checking 'class_exists' if it's already been found before.
2012-01-17 20:39:07 -05:00
Chris Boden
9b14684cbe WAMP Event Action
Added the Event action in WAMP (like SendMessage)
Confirmed subscribe, unsubscribe, publish, event working in WAMP
2012-01-16 22:55:44 -05:00
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
34d2f801c8 Merge branch 'refs/heads/header' into wamp 2012-01-13 21:50:47 -05:00
Chris Boden
5abf856ecd Guzzle upgrade
Changed branch to 2.0b
Includes addition of Message::getTokenizedHeader() added by @ mtdowling for Ratchet (thanks!)
2012-01-13 21:43:50 -05:00
Chris Boden
32e9fe8c6c Updated README 2012-01-08 23:39:23 -05:00
Chris Boden
3a4bdc918c WAMP Interface
Updated interfaces from app refactor to branch out WAMP on top of WebSocket app
2012-01-08 22:15:31 -05:00
Chris Boden
5334f94b91 Merge branch 'refs/heads/header' into wamp 2012-01-08 21:59:17 -05:00
Chris Boden
81700d8cd4 Merge branch 'refs/heads/app-refactor' into wamp 2012-01-08 21:58:50 -05:00
Chris Boden
4b2e731b6f Added vendor info 2012-01-08 19:47:41 -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
a1c6ee163f Guzzle Submodule
Added Guzzle as a submodule
2012-01-06 22:34:01 -05:00
Chris Boden
f766278a14 Passing Tests
Finally able to do incomplete tests.  Ratchet passes (finally).
2012-01-06 22:00:35 -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
ed3cfc16da Loosened Dependencies
Removed construct dependency from ApplicationInterface - changing full decorator to changeable stack.
2012-01-04 11:22:42 -07:00
Chris Boden
d37237c274 AppInterface Method Removal
Removed the construct AppInterface requirement in the construct to let applications branch out easier.  Each application can now specify its own dependancies rather than trying to rabbit hole apps.
2012-01-03 12:22:02 -07:00
Chris Boden
c56ba3b2f1 Init WAMP
Starting work on the WebSocket Application Messaging Protocol (WAMP).
JSON messages, supports pub/sub and RPC via HTTP endpoints for website integration
2011-12-18 15:32:11 -05:00
Chris Boden
8d1b2548e7 Unit test doc
Attempting to finish off the two incomplete unit tests but couldn't because of a PECL bug.
2011-12-18 14:36:56 -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
5c5f9e558f Mask unit test 2011-12-05 22:32:33 -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
d85ea57ece Merge branch 'refs/heads/master' into rfc 2011-12-02 19:48:19 -05:00
Chris Boden
3ec97f6442 Merge branch 'refs/heads/master' into unittests 2011-12-02 19:47:38 -05:00
Chris Boden
160291a23f Conn lambda test
Updated Connection set/get unit test to accept objects
2011-12-02 16:45:34 -05:00
Chris Boden
1f608f1d3a Stubs for RFC protocol version 2011-11-30 10:08:11 -05:00
Chris Boden
bd954fae5d Fixed memory leak
High number of connections caused memory issues, was parsing every outgoing message even though it was the same for many clients
2011-11-25 16:49:56 -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
4de9caaa78 Bug Fixes
Fixed bug where WebSocket protocols were being created for every connection
Enabled Garbage Collection in server
2011-11-25 09:41:11 -05:00
Chris Boden
75afa73826 Unit tests
Socket interface update
Server testing
Connection setting
2011-11-24 21:53:04 -05:00
Chris Boden
4129036356 Merge branch 'refs/heads/master' into unittests 2011-11-24 21:03:19 -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
4da707b653 Setting non-block on accepted sockets
Hopefully fixing a bug
2011-11-23 10:16:45 -05:00