This library provides a Haskell implementation of Engine.IO, a library for real-time client-server communication on the web. Engine.IO works with old browsers via XHR long-polling, and seamlessy upgrades to web sockets. This implementation supports the majority of the Engine.IO protocol, including text and binary packets and the upgrading protocol.


Keywords
library, web, Propose Tags , Network.EngineIO, haskell
License
BSD-3-Clause
Install
cabal install engine-io-1.2.22

Documentation

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.