Popularity
3.7
Declining
Activity
0.0
Stable
12
5
3

Monthly Downloads: 0
Programming language: Elixir
License: BSD 3-clause "New" or "Revised" License
Tags: Networking    

eio alternatives and similar packages

Based on the "Networking" category

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

Add another 'Networking' Package

README

Eio

engine.io server for Elixir.

Usage

use Eio as standalone server

defmodule MyApp.Eio do
  use Eio.Router

  def connect(session) do
    session |> EIO.Session.send("connect success")
  end

  def message(session, _msg) do
    session |> EIO.Session.send("message received")
    session |> EIO.Session.close
    ...
  end

  def close(_session) do
    ...
  end
end

Plug.Adapters.Cowboy.http MyApp.Eio, []

TODO

  • [X] polling transport
  • [X] websocket transport
  • [ ] exception
  • [ ] version support
  • [ ] base64 support
  • [ ] jsonp support
  • [ ] binary data support