nurpax / engine.io

A Haskell server implementation of the Engine.IO and Socket.IO (1.0) protocols

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

engine.io

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 a ServerAPI object.

  • engine-io-snap provides a ServerAPI that can be used to connect run an Engine.IO application in Snap.

  • 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.

About

A Haskell server implementation of the Engine.IO and Socket.IO (1.0) protocols