package websocket-lwt
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=6f85160066ef257eba1bddb424f120895a9367681e51ec986c5e6efe5414e8b9
md5=d3fe4222ea4142142c5e097c96fc6ef7
Description
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 s and long polling).
README
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.