The socketio package

[Tags: library, mit]

Socket.IO for Haskell folks.

Socket.IO
http://socket.io/
Protocol
https://github.com/LearnBoost/socket.io-spec
{-# LANGUAGE OverloadedStrings #-}

import Web.SocketIO

-- listens to port 4000
main = server 4000 $ do

    -- ping pong
    on "ping" $ emit "pong" []

    -- msg :: CallbackM [Text]
    on "echo" $ msg >>= emit "pong"

    -- do some IO
    on "Kim Jong-Un" $ liftIO launchMissile

Properties

Versions0.1.0.0, 0.1.0.1, 0.1.1, 0.1.2, 0.1.3
Dependenciesaeson (>=0.7 && <1.0), ansi-terminal (>=0.6 && <1.0), attoparsec (>=0.11 && <1.0), base (>=4.6 && <5.0), blaze-builder (>=0.3 && <1.0), bytestring (>=0.10 && <1.0), conduit (>=1.1 && <2.0), conduit-extra (>=1.1 && <2.0), http-types (>=0.8 && <1.0), lifted-base (>=0.2 && <1.0), monad-control (>=0.3 && <1.0), mtl (>=2.1 && <3.0), random (>=1.0 && <2.0), text (>=1.1 && <2.0), transformers-base (>=0.4 && <1.0), unordered-containers (>=0.2 && <1.0), vector (>=0.10 && <1.0), wai (>=2.0 && <3.0), warp (>=2.0 && <3.0)
LicenseMIT
AuthorTing-Yen Lai
Maintainerbanacorn@gmail.com
Stabilityexperimental
CategoryWeb
Source repositoryhead: git clone https://github.com/banacorn/socket.io-haskell
UploadedWed May 14 05:35:51 UTC 2014 by TingYenLai
Downloads431 total (30 in last 30 days)
StatusDocs available [build log]
Successful builds reported [all 1 reports]

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees