- Increased the upper-bound of base to allow < 4.9. Now builds on GHC 7.10.1.
- Change
on
to be variadic.on
is 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 ofsocket-io
, but allows more uses.
-
Change
appendDisconnectHandler
to work in theEventHandler
monad. 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
engine-io
1.2
-
When building an initial routing table, you now have access to the
Socket
. -
engineIOSocket
lets you access the underlyingengine-io
Socket
for a Socket.io session.
- Increase upper-bound of engine-io to <1.2
- Initial implementation