Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
valtzu authored May 10, 2024
1 parent 0750e1a commit 3901ddd
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 @@ -39,7 +39,7 @@ $handshakeResponse = $guzzle->requestAsync('GET', 'wss://ws.postman-echo.com/raw
$ws = $handshakeResponse->getBody();

$ws->write("Hello world");
$helloWorld = $ws->read(100); // Here you may return empty string
$helloWorld = $ws->read(100); // Here you may get an empty string if data wasn't received yet
```

#### Connection upkeep / ping-pong
Expand Down

0 comments on commit 3901ddd

Please sign in to comment.