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 b755b7f commit 38683ebCopy full SHA for 38683eb
README.md
@@ -20,6 +20,8 @@ composer require api-clients/pusher
20
```php
21
$loop = Factory::create();
22
$client = AsyncClient::create($loop, 'Application ID here');
23
+// OR when you need to specify the cluster
24
+$client = AsyncClient::create($loop, 'Application ID here', null, 'cluster-here');
25
26
$client->channel('channel_name')->subscribe(
27
function (Event $event) { // Gets called for each incoming event
0 commit comments