tcoopman / dream-channels

Phoenix (Elixir) like channels for Dream (Ocaml)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dream-Channels

Status: pre-alpha - will break all the time!

Websocket channel implementation for dream inspired by Phoenix Channels

The goal of this library is to build a higher level abstraction around websockets in dream to make it easy to build webapplications that use websockets.

The design is highly inspired from Phoenix.

TODO

  • define protocol
  • create client library
  • handle both string and binary payloads
  • create a chat example with multiple rooms
  • documentation

Development

you need esy, npm and watchexec.

Test

npm test

About

Phoenix (Elixir) like channels for Dream (Ocaml)

License:MIT License


Languages

Language:JavaScript 53.9%Language:OCaml 45.5%Language:Shell 0.6%