package websocket-lwt-unix
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=39af5eb5534b2df5b65ccf700b0a620438be5f09864a8e80b48ab60ee67a7a9c
sha512=a8cd168236acfa1156fac5a007fe6875a35f8fb03eee30a94eb712a2dc981a967bb8fb74fdd7aa7892d148176070333d49311ea9600f5a210e56be8da32197c8
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)
- sexplib
-
conduit-lwt-unix
< "7.1.0"
-
cohttp-lwt-unix
>= "5.0.0" & < "6.0.0~"
-
lwt_log
>= "1.1.1"
-
websocket
= version
-
ocaml
>= "4.06.0"
-
dune
>= "2.9"
Dev Dependencies (1)
-
odoc
with-doc
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