Enter your email below to get insights on starting, running and growing a creative company

Sending client events with Pusher

Pusher is an amazing service for quickly integraing realtime behaviour into an app.

When publishing events from a server things are simple enough, but there are a couple of ideosyncracies to get up and running when publishing events via Javascript.

All client events have to be authenticated on your server before they'll send any data. Then (and this is the gotcha which held me hostage for more than a little while), you have to ensure that all client events (i.e. events you send from the browser), start with a client- prefix. Without this, it's not going to work.

As usual, it's all in the documentation.

Posted July 2017
© 2014-2018 James Chambers
Learn from my mistakes

Sign up to my mailing list to get insights about starting, running and growing a creative company.