This library provides an implementation of Socket.io protocol (version 1). It builds on top of Engine.IO, allowing Socket.io to work with both long polling XHR requests, and seamlessly upgrading them to HTML 5 web sockets.
- Increased the upper-bound of aeson to allow < 0.11.
- Increase upper-bound of
vectorto < 0.12.
- Increased upper-bounds of aeson to < 0.10 and of attoparsec to < 0.14.
- Increased the upper-bound of base to allow < 4.9. Now builds on GHC 7.10.1.
onto be variadic.
onis now capable of parsing an arbitrary amount of arguments from the event payload (0 or more). This API should change should be backwards compatible with previous uses of
socket-io, but allows more uses.
appendDisconnectHandlerto work in the
EventHandlermonad. This allows you to broadcast messages to other clients when a socket disconnects. The chat example has been updated to broadcast a “user left” message to demonstrate this.
Thanks to Kayo Phoenix (@katyo) for the majority of this work!
- Build with
When building an initial routing table, you now have access to the
engineIOSocketlets you access the underlying
Socketfor a Socket.io session.
- Increase upper-bound of engine-io to <1.2
- Initial implementation