package websocket
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 (8)
-
mirage-crypto-rng
>= "1.0.0"
-
astring
>= "0.8.3"
-
ocplib-endian
>= "1.0"
-
cohttp
>= "5.0.0"
-
conduit
>= "5.1.0"
-
base64
>= "3.3.0"
-
ocaml
>= "4.06.0"
-
dune
>= "2.9"
Dev Dependencies (1)
-
odoc
with-doc
Used by (8)
- gremlin
-
iocaml
< "0.4.6"
-
links
>= "0.9"
-
ojs-base
!= "0.2.0"
- ojs_base
- stog_server
-
websocket-async
>= "2.17"
-
websocket-lwt-unix
>= "2.17"
Conflicts
None