pusher-lite
pusher-lite copied to clipboard
Isomorphic pusher client
Added [Auth Endpoint](https://pusher.com/docs/authenticating_users) support. ## How to use ``` coffee pusher_client = new PusherClient key: (process.env.PUSHER_KEY or pusher_key) authEndpoint: 'https://myapi.mydomain.com/auth/pusher' ``` or ``` coffee pusher_client = new PusherClient key: (process.env.PUSHER_KEY...
Could you please add proxy support. To proxy websockets I'm using faye-websocket with the following options {proxy:{ origin: wsProxyUrl},ping: XX}. I guess for pure websockets the implementation is difficult.
Hi there! I'm using this library to communicate with Pusher from a Mac server. Unfortunately, when the server goes to sleep and is woken back up, the `resetActivityCheck` method calls...
Improved console logging, using the Jethro module. Console logging within the module itself is very annoying. Using a third party module allows the user to turn logging off and put...
Fix for #7
There is assumption that message payload is JSON: https://github.com/abhishiv/pusher-node-client/blob/master/lib/pusher-node-client.coffee#L117 Error I getting is: ``` javascript SyntaxError: Unexpected number at Object.parse (native) at PusherClient.recieveMessage (/home/xxx/local/node/lib/node_modules/pusher-node-client/lib/pusher-node-client.js:175:51) at PusherClient.recieveMessage (/home/xx/local/node/lib/node_modules/pusher-node-client/lib/pusher-node-client.js:6:61) at WebSocketConnection. (/home/xxx/local/node/lib/node_modules/pusher-node-client/lib/pusher-node-client.js:140:24)...