package websocket-async
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=5923a79db1e122045e59d5a6a44b7fe58045bbad8ab3b6665750c658110aad71
md5=d0d07611c69250602c0ad9d7cddfae8e
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 (7)
-
logs-async-reporter
>= "1.0"
-
logs-async
>= "1.0"
-
core
< "v0.13.0"
-
cohttp-async
>= "1.1.1"
-
websocket
= version
-
dune
>= "1.1.1"
-
ocaml
>= "4.06.0"
Dev Dependencies
None
Used by (1)
Conflicts
None