this repo has no description
1opam-version: "2.0"
2authors: "Vincent Bernardoff <vb@luminar.eu.org>"
3maintainer: "Vincent Bernardoff <vb@luminar.eu.org>"
4homepage: "https://github.com/vbmithr/ocaml-websocket"
5bug-reports: "https://github.com/vbmithr/ocaml-websocket/issues"
6dev-repo: "git+https://github.com/vbmithr/ocaml-websocket"
7doc: "https://vbmithr.github.io/ocaml-websocket/doc"
8tags: [
9 "org:mirage"
10 "org:xapi-project"
11]
12build: [ "dune" "build" "-j" jobs "-p" name "@install" ]
13depends: [
14 "dune" {>= "1.3.0"}
15 "base64" {>= "2.2.0" & < "3.0.0"}
16 "cohttp" {>= "1.1.0"}
17 "ocplib-endian" {>= "1.0"}
18 "astring" {>= "0.8.3"}
19]
20synopsis: "Websocket library"
21description: """
22The WebSocket Protocol enables two-way communication between a client
23running untrusted code in a controlled environment to a remote host
24that has opted-in to communications from that code.
25
26The security model used for this is the origin-based security model
27commonly used by web browsers. The protocol consists of an opening
28handshake followed by basic message framing, layered over TCP.
29
30The goal of this technology is to provide a mechanism for
31browser-based applications that need two-way communication with
32servers that does not rely on opening multiple HTTP connections (e.g.,
33using XMLHttpRequest or <iframe>s and long polling)."""
34url {
35 src:
36 "https://github.com/vbmithr/ocaml-websocket/releases/download/2.12/websocket-2.12.tbz"
37 checksum: [
38 "sha256=6f85160066ef257eba1bddb424f120895a9367681e51ec986c5e6efe5414e8b9"
39 "md5=d3fe4222ea4142142c5e097c96fc6ef7"
40 ]
41}