Commit Graph

727 Commits

Author SHA1 Message Date
Chris Boden
55610686b1 Merge branch 'socket' into 0.4
# Conflicts:
#	composer.json
#	src/Ratchet/Server/IoServer.php
2017-04-19 16:48:03 -04:00
Christian Lück
e3a97b6661 Forward-compatibility with Socket v0.7 and Socket v0.6
Socket v0.7 and v0.6 contain some major changes, but this does not
affect usage within Ratchet, so it's actually compatible with all latest
releases.
2017-04-17 17:36:23 +02:00
Gyula Madarasz
bc631bd9c0 Update README.md
example code in readme failed in browser client by message: "Uncaught DOMException: Failed to execute 'send' on 'WebSocket': Still in CONNECTING state" so wait for connection state is opened
2017-03-28 14:12:54 +01:00
Eliseu dos Santos
13c9fdfb15 Changed sslConf parameter validation, according to review on PR 2017-03-13 07:27:13 -03:00
Christian Lück
22e500d02a Fix event arguments 2017-03-10 15:40:54 +01:00
Chris Boden
b00da833ce Use $this in closure, fixed ref to handleData 2017-03-10 09:22:43 -05:00
Chris Boden
8d8d574199 Merge branch 'socket' into 0.4 2017-03-10 09:19:04 -05:00
Christian Lück
1fd6f24371 Fix event arguments 2017-03-10 15:13:39 +01:00
Chris Boden
3a952c9156 Merge pull request #504 from ruslan-naryzhnyi/fix-autobahn-source
fix souce link for client side library
2017-03-06 12:01:47 -05:00
krendel
e788fd4da1 fix souce link for client side library 2017-02-26 11:44:23 +02:00
Eliseu dos Santos
369227dc1c Add WSS support using recently added class SecureServer from React. 2017-02-21 09:22:38 -03:00
Chris Boden
cc2bc79455 Changelog with new react/socket 2017-02-16 20:34:04 -05:00
Chris Boden
131204eaf5 Merge branch 'clue-labs/socket' into 0.4
# Conflicts:
#	composer.json
#	tests/autobahn/bin/fuzzingserver-noutf8.php
#	tests/autobahn/bin/fuzzingserver.php
2017-02-16 20:31:29 -05:00
Chris Boden
4cf38fe82e Merge branch 'master' into 0.4
# Conflicts:
#	CHANGELOG.md
#	src/Ratchet/ConnectionInterface.php
#	src/Ratchet/Http/Router.php
#	src/Ratchet/WebSocket/Version/RFC6455.php
#	tests/unit/Http/RouterTest.php
2017-02-16 20:14:25 -05:00
Chris Boden
945a887abd Merge pull request #487 from al0mie/al0mie-patch-1
update php versions
2017-02-16 09:10:08 -05:00
Christian Lück
b8967b999a Update Socket component to v0.5 2017-02-14 08:41:59 +01:00
Alex Mokrenko
a672b8601b Update .travis.yml 2017-02-09 22:11:06 +03:00
Chris Boden
84df35d2a6 Release 2017-01-06 09:36:36 -05:00
Chris Boden
afe63e26d6 0.3.6 prep
fixes #470
fixes #471
fixes #472
2016-12-30 13:40:50 -05:00
Chris Boden
7a661b5016 Merge branch 'pr/472-method-not-allowed' 2016-12-30 13:26:12 -05:00
Chris Boden
64bc5822c8 Set GET required in Symfony Route 2016-12-30 13:26:04 -05:00
Chris Boden
45342407ef Merge branch 'pr/471-keep-host-scheme' 2016-12-30 12:40:31 -05:00
samizdam
56c07ce4b8 Factory new Request Url from url, instead path only: keep original request host, scheme, etc. 2016-11-25 21:26:12 +03:00
samizdam
7215ffe9e6 Send additional headers on close connection in Router. 2016-11-17 19:48:29 +03:00
samizdam
5eb1dfa98d Use 403 status code on MethodNotAllowedException. 2016-11-10 21:05:00 +03:00
Chris Boden
a78c8d2ddf Merge branch '0.4-pong' into 0.4 2016-06-06 09:13:02 -04:00
Matt Bonneau
85ed94d5cb Fix unsolicited pong crash with keep alive enabled. Fixes #430 2016-05-26 00:39:14 -04:00
Chris Boden
b5ccecad93 v0.3.5 prep 2016-05-25 08:55:03 -04:00
Chris Boden
734055ea7f Merge branch 'mask' 2016-05-25 08:47:23 -04:00
Chris Boden
b3b10e3d2b Merge branch 'session-php-serialize' 2016-05-25 08:44:56 -04:00
Chris Boden
f5e8a18341 Added unit tests for serialize, formatting 2016-05-25 08:44:41 -04:00
Chris Boden
b0e72bb7da Merge pull request #429 from JaapMoolenaar/patch-1
The variable $from should be the variable (parameter) $conn
2016-05-17 11:23:08 -04:00
Chris Boden
de4e02abd0 Merge pull request #413 from Kurairaito/patch-1
Update WsServer.php
2016-05-17 10:15:04 -04:00
Jaap Moolenaar
a968ea2e43 The variable $from should be the variable (parameter) $conn 2016-05-17 15:56:59 +02:00
Yurist-85
1028c03235 Create array in old manner (PHP 5.3) 2016-05-12 17:41:32 +07:00
Yurist-85
ecbbdbe029 Session serialize method implementation.
PhpHandler:serialize: Simply reverse behaviour of 'PhpHandler:unserialize' method.
2016-05-12 17:26:37 +07:00
Matt Bonneau
4170822f05 Unmask close frame before echoing to client Fixes #420 2016-04-25 18:37:51 -04:00
Kurairaito
695995d3e7 Update WsServer.php
fixed crash when keepalive was called
2016-04-08 21:24:28 +02:00
Chris Boden
340f036d37 Working link 2016-03-14 11:35:36 -04:00
Chris Boden
9f83763a07 Update readme and changelog for upcoming release 2016-03-14 11:34:39 -04:00
Chris Boden
3541db2dc7 Version indicators, remove UTF-8 disabling tests 2016-03-12 10:29:26 -05:00
Chris Boden
a5aed61626 Merge branch '0.4-wip/binary-alternative' into 0.4 2016-03-12 10:21:16 -05:00
Chris Boden
237615890d Remove edited API for sending binary
(should pass message object instead)
2016-03-01 14:16:35 -05:00
Chris Boden
e3aecdf021 Alternative approach to binary messaging
A new interface the dev can implement that will pass a
Message object to the devs instance. The object has
properties regarding binary/text
2016-03-01 14:11:15 -05:00
Chris Boden
7e42bfe2ac Pass message value, isBinary indicator
Passing message contents instead of string to keep BC
Passing isBinary indicator regardless of interface
2016-02-27 13:04:10 -05:00
Chris Boden
365e8702ff WebSocket Binary message parent change 2016-02-27 13:03:12 -05:00
Chris Boden
bbced3b765 Fixed frame creation type bug 2016-02-27 13:02:56 -05:00
Chris Boden
fb6eee1908 Merge pull request #403 from ratchetphp/0.4-wip/request-container
0.4 wip/request container
2016-02-27 12:25:57 -05:00
Chris Boden
01e1d159e8 Naming conventions 2016-02-25 19:26:42 -05:00
Chris Boden
5137c2122a Use httpRequest in favour of WebSocket->request 2016-02-25 19:19:58 -05:00