We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3c48ea commit 26f6780Copy full SHA for 26f6780
examples/fc3.php
@@ -11,6 +11,9 @@
11
$connection = BinaryStreamConnection::getBuilder()
12
->setPort(5020)
13
->setHost('127.0.0.1')
14
+ ->setConnectTimeoutSec(1.5) // timeout when establishing connection to the server
15
+ ->setWriteTimeoutSec(0.5) // timeout when writing/sending packet to the server
16
+ ->setReadTimeoutSec(0.3) // timeout when waiting response from server
17
->setLogger(new EchoLogger())
18
->build();
19
0 commit comments