package websocket-lwt-unix
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=39af5eb5534b2df5b65ccf700b0a620438be5f09864a8e80b48ab60ee67a7a9c
sha512=a8cd168236acfa1156fac5a007fe6875a35f8fb03eee30a94eb712a2dc981a967bb8fb74fdd7aa7892d148176070333d49311ea9600f5a210e56be8da32197c8
README.md.html
ocaml-websocket — Websocket library for OCaml
The WebSocket Protocol enables two-way communication between a client running untrusted code in a controlled environment to a remote host that has opted-in to communications from that code.
The security model used for this is the origin-based security model commonly used by web browsers. The protocol consists of an opening handshake followed by basic message framing, layered over TCP.
The goal of this technology is to provide a mechanism for browser-based applications that need two-way communication with servers that does not rely on opening multiple HTTP connections (e.g., using XMLHttpRequest or
Installation
ocaml-websocket can be installed with opam
:
opam install websocket
If you don't use opam
please consult the websocket.opam
, websocket-lwt.opam
and websocket-async.opam
files for build instructions.