Skip to content

Commit

Permalink
Merge pull request #104 from Nek-/patch-1
Browse files Browse the repository at this point in the history
Making the readme example work
  • Loading branch information
cboden authored Nov 21, 2019
2 parents b06df34 + e837029 commit de50955
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Pawl as a standalone app: Connect to an echo server, send a message, display out

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

\Ratchet\Client\connect('ws://echo.socketo.me:9000')->then(function($conn) {
\Ratchet\Client\connect('wss://echo.websocket.org:443')->then(function($conn) {
$conn->on('message', function($msg) use ($conn) {
echo "Received: {$msg}\n";
$conn->close();
Expand Down

0 comments on commit de50955

Please sign in to comment.