A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://pusher.com/docs/channels/server_api/server-to-user-messages below:

Pusher Channels Docs | Sending events to authenticated users

Sending events to authenticated users

When your application client authenticates users on their Pusher Channels connection, your application server is able to send events to users knowing their user id without them having to subscribe to channels in advance. An example follows.

Check:

pusher.sendToUser("user-id", "event-name", { message: "hello world" });
$pusher->sendToUser('user-id', 'event-name', [ 'message' => 'hello world' ]);

Spotted something that isn’t quite right? Create an issue on GitHub.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4