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 05924ef commit aaac07aCopy full SHA for aaac07a
README.md
@@ -21,7 +21,7 @@ composer require api-clients/pusher
21
$loop = Factory::create();
22
$client = AsyncClient::create($loop, 'Application ID here');
23
24
-$client->channel($subReddit)->subscribe(
+$client->channel('channel_name')->subscribe(
25
function (Event $event) { // Gets called for each incoming event
26
echo 'Channel: ', $event->getChannel(), PHP_EOL;
27
echo 'Event: ', $event->getEvent(), PHP_EOL;
0 commit comments