Skip to content

Commit 4f95068

Browse files
committed
document timeout
1 parent 9afc1af commit 4f95068

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ Timeout is configurable in the constructor.
6060
use Minishlink\WebPush\WebPush;
6161

6262
$client = new \Buzz\Client\Curl();
63-
$webPush = new WebPush(array(), null, null, $client);
63+
$timeout = 20; // seconds
64+
$webPush = new WebPush(array(), null, $timeout, $client);
6465
```
6566

6667
You have access to the inner browser if you want to configure it further.

0 commit comments

Comments
 (0)