This repository contains the following projects:
-
engine-io
contains a Haskell implementation of Engine.IO, a real-time abstraction for the web, allowing one to interact with clients in a socket-like fashion (rather than the more traditional request-response pattern). Supports long-polling along with upgrading to WebSockets. This library is API agnostic - you need to connect it your web server by providing aServerAPI
object. -
engine-io-snap
provides aServerAPI
that can be used to connect run an Engine.IO application in Snap. -
socket-io
implements the Socket.IO protocol on top ofengine-io
. Socket.IO is a higher-level abstraction based on events. Clients send events to the server, which can respond by sending events back to clients, or broadcasting events to all other clients. -
examples
contains an exampleengine-io
application (a latency test) and a chat server application written usingsocket-io
.