pusher-ws

Implementation of the Pusher WebSocket protocol

https://github.com/barrucadu/pusher-ws

Latest on Hackage:0.1.1.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

MIT licensed by Michael Walker
Maintained by [email protected]

An implementation of the Pusher WebSocket (client) protocol in Haskell.

Current features:

  • ws:// and wss:// protocols.

  • Clusters.

  • Subscribing to channels.

  • Unsubscribing from channels.

  • Authorisation for private and presence channels.

  • Binding event handlers.

  • Unbinding event handlers

  • Sending client events.

  • Threads which automatically get cleaned up on connection close.

  • Automatic reconnection (and channel resubscription).

  • Connection state events.

  • Pusher close codes.

Missing features:

  • "connecting_in" events.

See the README for more details.