Commit Graph

29 Commits

Author SHA1 Message Date
Chris Boden
67538706ed Revert "Merge branch 'dev' of github.com:cboden/Ratchet into dev"
This reverts commit b31a65a99a, reversing
changes made to 68a618c1cd.
2011-11-08 09:39:25 -05:00
Chris Boden
b31a65a99a Merge branch 'dev' of github.com:cboden/Ratchet into dev
Conflicts:
	lib/Ratchet/Protocol/WebSocket.php
2011-11-08 09:37:57 -05:00
Chris Boden
68a618c1cd Command Refactoring
Refactored Command namespace; reusing more code, standardized interfaces
WebSocket handles wrapping messages better/properly now
2011-11-08 09:36:48 -05:00
Chris Boden
1d14119bb5 Command Refactoring
Refactored Command namespace; reusing more code, standardized interfaces
WebSocket handles wrapping messages better/properly now
2011-11-08 09:32:20 -05:00
Chris Boden
d880d29729 Refactoring
Refactored Command/Composite pattern, now as expected
Server recursively executes commands
Above changes fixed issues of server/client not being notified on forced disconnects
2011-11-07 16:02:01 -05:00
Chris Boden
66e656ec63 Documentation 2011-11-07 12:06:01 -05:00
Chris Boden
60a8a04e40 Cleanup
Fixed bad interface implementation in Close Command
Removed old code from Composite (now in Factory)
Removed done @todo's
Cleaned up Ping/Pong
Added HyBi-10 frame/unframe test
2011-11-07 11:55:07 -05:00
Chris Boden
1ba8021df8 Parse HTTP header fix
Using a standard method to parse the HTTP headers, with partial fallback
2011-11-07 10:29:18 -05:00
Chris Boden
1495354e7c HTTP parser bug fix 2011-11-07 10:17:39 -05:00
Chris Boden
0de53cf7ee Refactored Commands 2011-11-06 18:24:50 -05:00
Chris Boden
a6073a87eb Communication between versions
HyBi-10 and Hixie-76 can now talk to each other!
2011-11-01 15:19:03 -04:00
Chris Boden
2d7774fd65 Hixie-76 protocol
Implemented WebSocket Hixie-76 protocol
2011-11-01 14:10:12 -04:00
Chris Boden
f9d609074c Moar cleaning
Added a few unit tests
Added MIT license
Changed Array's to array's
2011-11-01 11:01:43 -04:00
Chris Boden
3127efc981 Cleanup
Removed redundant Interfaces
Removed a number of unused methods
2011-11-01 09:52:41 -04:00
Chris Boden
57a4500d82 Frame WebSocket outgoing messages
Implemented framing/unframing code from @lemmingzshadow for HyBi-10 protocol
2011-10-31 17:34:42 -04:00
Chris Boden
01b51041d5 API documentation 2011-10-28 15:15:23 -04:00
Chris Boden
51d0516aa3 Cleanup
Application stack working!
Existing unit tests fixed
Implemented HyBi-10 unframing
2011-10-28 14:12:39 -04:00
Chris Boden
7514ce8e85 Cleaning Up
Cleaned up a lot of the code
Added API documentation
Fixed some unit tests
Much cleaning left to be done
2011-10-27 19:17:38 -04:00
Chris Boden
1c0b8ed32d Restructure Overhaul
Server accepts single Observable object (was Chain of Responsibility)
WebSocket is decorator of application implementing Observable
Observable interface returns Command pattern object
Interfaced all the things
Code is a mess
Unit tests are broken
2011-10-27 18:36:29 -04:00
Chris Boden
ed1a35ff74 HyBi-10 handshake
Hackishly implemented the HyBi-10 handshake
2011-10-27 13:07:24 -04:00
Chris Boden
3af575b4e9 Cleanup 2011-10-25 08:58:36 -04:00
Chris Boden
ac8644125c Refactoring
Major restructure, dropped aggregate idea, can't get around php golden hammer, the all mighty array, problem
Unit tests broken
2011-10-24 09:26:15 -04:00
Chris Boden
9bc0cbce25 Changed attempt to use decorator pattern for everything to chain of command pattern 2011-09-05 19:39:37 -04:00
Chris Boden
30ce6c0386 Server building 2011-09-05 18:39:36 -04:00
Chris Boden
f17f59856e Started observer pattern, API updates, unit tests 2011-09-05 13:10:57 -04:00
Chris Boden
5ce4a7b837 Stubs, coverage, api docs 2011-09-05 08:53:21 -04:00
Chris Boden
04875dadcd Unit testing coverage 2011-09-04 20:47:43 -04:00
Chris Boden
8c9f55240c Structure/stubs 2011-09-04 17:30:21 -04:00
Chris Boden
5320efe4e7 File structure set, Hiby10 token handshake complete and unit tested 2011-09-04 12:11:24 -04:00