Chris Boden
e45cd158bd
Add support for Sub-Protocol selection
2015-05-31 15:24:44 -04:00
Chris Boden
ce50c6ceb4
Frame masking perf
...
refs ratchetphp/ratchet#226
2015-05-30 23:28:31 -04:00
Chris Boden
621b8f836c
Re-use exception
...
UnderflowExceptions have been used as flow control
Now have a factory to re-throw the same one to not generate a stack trace.
2015-05-30 23:27:54 -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
3fb32b2827
Merge branch 'mb-psr7' into psr7
2015-05-26 18:05:35 -04:00
matt
c8ce2adcb1
Removed echo
2015-05-25 09:51:50 -04:00
matt
f1451e0bd8
Fixed issue with client tests
2015-05-24 23:50:02 -04:00
matt
6676b05d02
Client tests using ContextInterface
2015-05-24 19:50:51 -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
de76869847
Fixed up ResponseVerifier for PSR-7
2015-05-22 16:50:07 -04:00
Matt Bonneau
b3501e27b3
Merge pull request #1 from ratchetphp/mb
...
Update to PSR-7 v1, update to match API changes
2015-05-22 15:08:58 -04:00
Chris Boden
c280d8137f
Update to PSR-7 v1, update to match API changes
2015-05-22 09:49:14 -04:00
matt
c2a51b62ef
Passing Autobahn tests (except compression)
2015-03-18 11:12:11 -04:00
matt
9890a8d7e1
Client side tests and components
2015-03-16 16:23:01 -04:00
matt
1970699b75
Autobahn test script
2015-03-16 00:22:38 -04:00
matt
1833a0f3ec
Passing some ab tests
2015-03-16 00:15:33 -04:00
matt
8653b92115
Create MessageStreamer, move some things
2015-03-15 23:15:41 -04:00
matt
d0202c8c71
Changed deps
2015-03-15 21:49:26 -04:00
Chris Boden
c1027be9a6
Spiking SPL interfaces
2014-11-29 13:08:39 -05:00
Chris Boden
5e79598448
Separate negotiation and validation
2014-11-29 13:08:04 -05:00
Chris Boden
d1376d824a
Null Validator
2014-09-10 21:21:00 -04:00
Chris Boden
b685f6c928
Separating protocol parsing, message handling
2014-09-08 22:05:03 -04:00
Chris Boden
8884b40f00
Update namespace to RFC6455, PHP 5.4
2014-08-30 09:00:56 -04:00
Chris Boden
f93eb36765
Let's keep BC in v0.1 :-)
2014-08-30 08:56:23 -04:00
Chris Boden
33ad0cf24f
Updated repo source
2014-08-30 08:39:26 -04:00
Chris Boden
e69e40e9ab
Validator implements ValidatorInterface
2014-08-30 08:36:44 -04:00
Chris Boden
44a8b404f8
readme
2014-08-30 08:20:17 -04:00
Chris Boden
aa6bb1b40e
Refactor just RFC6455, Interfaces, Valication
2014-08-30 08:09:39 -04:00
Chris Boden
80124ec05e
[WebSocket] Halt communication after closing frame
...
Also send closing frame in Hixie
2014-06-08 10:55:57 -04:00
Grégoire Pineau
33c59a8de7
CS (trainling space)
2014-03-21 16:46:52 +01:00
Grégoire Pineau
c1754d302c
CS (eof_ending)
2014-03-21 16:46:43 +01:00
Chris Boden
3a4bbf1885
[ws] Updated onError handle to make sure to close if conditions aren't met
2013-10-14 10:25:51 -04:00
Florian Rey
0fdb7795e1
Test for connection attachement before cascading error
2013-10-10 13:40:26 +02:00
Chris Boden
bb0896ab12
[WebSocket] Only select one sub-protocol, fixes #103
2013-07-20 12:38:23 -04:00
Chris Boden
e9d19c95ab
Merge branch 'refs/heads/master' (v0.2.7) into 0.3
...
Conflicts:
CHANGELOG.md
composer.json
composer.lock
src/Ratchet/ConnectionInterface.php
src/Ratchet/WebSocket/Version/HyBi10.php
src/Ratchet/WebSocket/Version/RFC6455.php
src/Ratchet/WebSocket/WsServer.php
2013-06-09 12:04:42 -04:00
Chris Boden
cb6f580d02
Guzzle 3.6 conformance
...
Updated inheritance class to match API change
Use new Guzzle Header class when searching for values
Lock Ratchet into using Guzzle 3.6 to future-proof
2013-06-09 11:10:22 -04:00
Chris Boden
86e2484dfe
Fixing more Guzzle API breaks
2013-06-01 20:24:11 -04:00
Chris Boden
3e8b7826d9
Merge branch 'patch-2' of https://github.com/Barbarrosa/Ratchet
2013-06-01 19:49:50 -04:00
Barbarrosa
3158e4fcf3
Update HyBi10.php
...
I encountered the following error while attempting to use Ratchet. The __toString version of the request should contain the proper value, and retrieving the string before converting to an int would prevent this typecasting issue.
Notice: Object of class Guzzle\Http\Message\Header could not be converted to int in [file system path]\vendor\cboden\ratchet\src\Ratchet\WebSocket\Version\HyBi10.php on line 7
2013-05-31 23:08:27 -06:00
Barbarrosa
9c64881929
Fixed type conversion issue with isProtocol method in RFC6455
...
I encountered the following error while attempting to use Ratchet. The __toString version of the request contained the correct value (13), so I cast the result to a string before casting it to an integer.
Notice: Object of class Guzzle\Http\Message\Header could not be converted to int in [file system path]\vendor\cboden\ratchet\src\Ratchet\WebSocket\Version\RFC6455.php on line 53
2013-05-31 22:55:00 -06:00
Chris Boden
9d85a19309
Set $conn->remoteAddress if proxy forwarded
...
Refs #89
2013-05-01 19:42:15 -04:00
Chris Boden
791a31e05f
[Tests] Bring up unit testing coverage
...
Coverage on Http and Session
Set version to 0.3-beta
Cleaned up a couple API doc things
Removed Origin code from RFC, will be moved to Http
2013-04-28 15:25:16 -04:00
Chris Boden
d956432e3c
[WebSocket][Http] Bug fix WS require nullifying, more strict on Request parameter
2013-04-28 09:55:43 -04:00
Chris Boden
c416cb70a8
[Http][Tests] Refactored unit tests, added new for HTTP
2013-04-27 10:27:45 -04:00
Chris Boden
8356130b97
[Http] ROUTING BABY
...
Decoupled routing from HTTP
Added Router implement HttpServerInterface
Fully functional Symfony routes in application!
As a result, this drastically decreased backwards compatibility breaks while introducing new functionality
2013-04-26 23:01:28 -04:00
Chris Boden
48413cfbad
[Http] Refactor header parsing from WS to HTTP
2013-04-14 18:34:28 -04:00
Chris Boden
e6e194736a
HTTP Decouple spike
2013-04-14 18:23:12 -04:00
Chris Boden
404df1e0a8
[WebSocket] Prevent division by 0 in Hixie handshake
2013-03-31 14:16:40 -04:00