Commit Graph

340 Commits

Author SHA1 Message Date
Illia Kovalov
4aa084c379 * @param int $keepAliveInterval Seconds between ping calls 2017-09-28 20:06:14 +02:00
Chris Boden
680b2ae45c Temporarily remove TLS helper functions 2017-09-14 08:03:44 -04:00
Chris Boden
0f827b13c9 Remove Topic autoDelete option from WAMP
When a Topic reaches 0 subscribers it will be removed
New subscriptions to Topics that had the same name will create new Topics
refs #185, #198
2017-09-14 07:40:37 -04:00
Chris Boden
fe4a97400d Remove usage of http_parse_message
Found a case where http_parse_message failed to parse a valid request header and returned null, which ended up in an uncaught exception being thrown by Guzzle.
2017-09-13 18:12:50 -04:00
Chris Boden
0cde24bae7 entryption params 2017-09-10 14:41:56 -04:00
Chris Boden
2594ebced4 Fix UTF-8 check 2017-09-10 12:49:48 -04:00
Chris Boden
19fa7f7e98 Merge branch 'master' into 0.4
# Conflicts:
#	README.md
2017-09-10 12:03:39 -04:00
Chris Boden
f078287017 Add ssl options to App 2017-09-10 11:57:09 -04:00
Chris Boden
e1980b2016 Add missing SSL doc 2017-09-10 11:44:51 -04:00
Chris Boden
c5055fa6f2 Merge branch 'pr/485-react-socket' into 0.4
# Conflicts:
#	composer.json
2017-09-10 11:40:08 -04:00
Chris Boden
a1a1a3c642 Update UTF-8 check and move to WsServer
fixes #517
2017-09-10 11:23:40 -04:00
Kolbasyatin
7c05c5cdae Update Topic.php
We can send message not only string, but array also, so, IDE does unpleasant highlights.
2017-09-02 23:19:36 +03:00
Christian Lück
a86be3c526 Forward-compatibility with future Socket v1.0 and Socket v0.8
Socket v0.8 only contains some minor breaking changes, which can be
circumvented by ignoring URI schemes here.
Future Socket v1.0 will not contain any BC breaks, so it's actually
compatible with the last release.
2017-07-19 16:12:26 +02:00
Chris Boden
4ac1f914f3 Merge branch 'master' into 0.4
# Conflicts:
#	README.md
2017-04-19 17:05:46 -04:00
Chris Boden
b8caf37039 Merge branch 'ssl-server' into 0.4
# Conflicts:
#	src/Ratchet/Server/IoServer.php
2017-04-19 17:05:11 -04: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
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
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
Christian Lück
b8967b999a Update Socket component to v0.5 2017-02-14 08:41:59 +01: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
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
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
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
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
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
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