summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-22 10:25:06 +0300
committerGitHub <[email protected]>2018-06-22 10:25:06 +0300
commitaefd3dc833f6a4867dd1885b070b2152e64b1caa (patch)
treedc274bdf3934b76072fdd874284395e8cb15f6b3 /README.md
parent8c090d83eef5cef9b5408f797119d7aead42462b (diff)
Update README.md
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index 1be1aebe..74a2d24c 100644
--- a/README.md
+++ b/README.md
@@ -82,7 +82,7 @@ http:
# http worker pool configuration.
workers:
# php worker command.
- command: "php psr-worker.php pipes"
+ command: "php psr-worker.php"
# connection method (pipes, tcp://:9000, unix://socket.unix).
relay: "pipes"
@@ -118,6 +118,7 @@ static:
Where `psr-worker.php`:
```php
+$relay = new Spiral\Goridge\StreamRelay(STDIN, STDOUT);
$psr7 = new Spiral\RoadRunner\PSR7Client(new Spiral\RoadRunner\Worker($relay));
while ($req = $psr7->acceptRequest()) {