Client API overview
The Client API Overview provides information on how to perform specific actions using our client libraries. Where possible each section provides an overview of the action, a reference-style guide to the constructor, property or method and an example of how it is used.
The reference-style guide and examples may contain information for different languages. You can choose which language you wish to view by clicking on the appropriate tab as below.
var pusher = new Pusher("YOUR_APP_KEY", options);
let pusher = Pusher(key: "YOUR_APP_KEY")
self.pusher = [[Pusher alloc] initWithKey:@"YOUR_APP_KEY"];
Pusher pusher = new Pusher("YOUR_APP_KEY");
window.Echo = new Echo({ broadcaster: "pusher", key: "YOUR_APP_KEY" });
var pusher = new Pusher("YOUR_APP_KEY");