Logo

0x5a.live

for different kinds of informations and explorations.

GitHub - falood/eio: elixir server of engine.io

elixir server of engine.io . Contribute to falood/eio development by creating an account on GitHub.

Visit SiteGitHub - falood/eio: elixir server of engine.io

GitHub - falood/eio: elixir server of engine.io

elixir server of engine.io . Contribute to falood/eio development by creating an account on GitHub.

Powered by 0x5a.live ๐Ÿ’—

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

  • polling transport
  • websocket transport
  • exception
  • version support
  • base64 support
  • jsonp support
  • binary data support

Elixir Resources

are all listed below.

Resources

listed to get explored on!!

Made with โค๏ธ

to provide different kinds of informations and resources.