Engine.io and Socket.io clients for OCaml.
With opam
:
opam pin add socketio-client https://github.com/AestheticIntegration/socket.io-client-ocaml.git
Documentation is published at https://aestheticintegration.github.io/socket.io-client-ocaml.
Also see examples/engine.io/client.ml
and examples/socket.io/client.ml
for
usage examples.
Requires opam
.
make dev-setup
make build
make test
Requires node
and npm
.
make examples-setup
make example-engineio-server
make example-engineio-client
make example-socketio-server
make example-socketio-client
To generate the documenation (requires topkg-care
from opam
):
opam install topkg-care
make doc
To publish the generated documentation:
git checkout gh-pages
rm *.html *.stamp *.css
mv _build/doc/api.docdir/* .
rm -rf _build
git add .
git commit -m "Re-generate docs."
git push origin gh-pages