package websocket-async
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=1221f4683ddad884dbd62bc3f0ee59e8cd1b0c770c356357c5e6100ac87dc5eb
sha512=1561b022380e6bc21561d36cbce1e2e28cdd08fc47f5c91f7dd9f514cb1b3f4866534512f22e85086727a758695c22125735397b5955a70f476e1b9d8cbc75c4
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.
Dependencies (9)
-
logs-async-reporter
>= "1.0"
-
logs-async
>= "1.1"
-
cohttp-async
>= "5.0.0" & < "6.0.0~"
-
async
>= "v0.15.0"
-
core_unix
>= "v0.15.0"
-
core
>= "v0.15.0"
-
websocket
= version
-
ocaml
>= "4.06.0"
-
dune
>= "2.9"
Dev Dependencies (1)
-
odoc
with-doc
Used by (1)
Conflicts
None