Popularity
7.6
Declining
Activity
0.0
Stable
23
6
5

Monthly Downloads: 10
Programming language: Haskell
License: MIT License
Tags: Web    

socketio alternatives and similar packages

Based on the "Web" category.
Alternatively, view socketio alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of socketio or a related project?

Add another 'Web' Package

README

Socket.IO server in Haskell.

Build Status

Install

cabal install socketio

Usage

Now only stand-alone version is supported. WAI and Snap adapter will added in the future.

Stand-alone server

{-# LANGUAGE OverloadedStrings #-}

import Web.SocketIO

main = server 4000 $ do

    on "ping" $ emit "pong" []

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

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

Supported Transports

websockets under development.

  • xhr-polling