package websocket
All checked builds passInstall
dune-project
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 websocketIf 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
Optional Dependencies
None
Used by (7)
- gremlin
- links
- ojs-base
- ojs_base
- stog_server
-
websocket-async
>= "2.17" -
websocket-lwt-unix
>= "2.17"
Conflicts
None
Build status
Results of building websocket with each compiler on check.ci.ocaml.org, run of against opam-repository 8a77e58. All results for this package.
Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.
| Version | OCaml 4.11 | OCaml 4.14 | OCaml 5.2 | OCaml 5.4 | OCaml 5.5 |
|---|---|---|---|---|---|
| 2.17 (this version) | n/a | good | good | good | good |
| 2.16 | good | good | good | good | good |
- good Package successfully built
- partial One of the dependencies failed to build
- bad Package failed to build
- n/a Package is not available in this environment
- internal Internal failure