Skip to content

Commit f04febd

Browse files
authored
Merge pull request #165 from clue-labs/socket
Replace deprecated SocketClient with new Socket component to simplify CONNECT example
2 parents 16cd72f + 504251b commit f04febd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
},
1919
"require-dev": {
2020
"phpunit/phpunit": "^4.8.10||^5.0",
21-
"react/socket-client": "^0.7"
21+
"react/socket": "^0.7"
2222
}
2323
}

examples/21-connect-proxy.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
use React\Socket\Server;
55
use React\Http\Response;
66
use Psr\Http\Message\RequestInterface;
7-
use React\SocketClient\Connector;
8-
use React\SocketClient\ConnectionInterface;
7+
use React\Socket\Connector;
8+
use React\Socket\ConnectionInterface;
99

1010
require __DIR__ . '/../vendor/autoload.php';
1111

0 commit comments

Comments
 (0)