package websocket-lwt-unix
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=30e40d098da86fb5f6b2adbc53211503c6e0c20422c21a7b41c8ac83168ca439
sha512=ae4246f66a15cc3eb9a8fbd11bb5551fe77fb5ae93d31e8d8636c0b254e2d93ac3d5663604731a5b6ed28897cdb5677b6a96b1ce3d993b4720fd09549f1bf9ad
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 (5)
-
cohttp-lwt-unix
>= "2.5.1" & < "4.1.0"
-
lwt_log
>= "1.1.1"
-
websocket
= version
-
dune
>= "1.3.0"
-
ocaml
>= "4.06.0"
Dev Dependencies
None
Used by (8)
- gremlin
-
irmin-cli
>= "3.9.0"
- irmin-client
- irmin-server
-
links
>= "0.9"
-
ojs-base
>= "0.6.0"
- ojs_base
- ws-server
Conflicts
None