ocharles / engine.io

A Haskell server implementation of the Engine.IO and Socket.IO (1.0) protocols
148 stars 28 forks source link
haskell

engine.io

This repository contains the following projects:

     Project Version      Description
Hackage version Hackage dependencies 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 a ServerAPI object.
Hackage version Hackage dependencies engine-io-snap provides a ServerAPI that can be used to run an Engine.IO application in Snap.
Hackage version Hackage dependencies engine-io-yesod provides a ServerAPI that can be used to run an Engine.IO application in Yesod.
Hackage version Hackage dependencies engine-io-wai provides a ServerAPI that can be used to run an Engine.IO application in WAI.
Hackage version Hackage dependencies socket-io implements the Socket.IO protocol on top of engine-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 example engine-io application (a latency test) and a chat server application written using socket-io.