File: dune-project

package info (click to toggle)
ocaml-websocket 2.17-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 288 kB
  • sloc: ml: 1,611; makefile: 7
file content (90 lines) | stat: -rw-r--r-- 3,222 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
(lang dune 2.9)
(name websocket)
(version 2.17)

(generate_opam_files true)

(source (github vbmithr/ocaml-websocket))
(license ISC)
(authors "Vincent Bernardoff <vb@luminar.eu.org>")
(maintainers "Vincent Bernardoff <vb@luminar.eu.org>")
(documentation https://vbmithr.github.io/ocaml-websocket/doc)

(package
 (name websocket)
 (synopsis "Websocket library")
 (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 <iframe>s and long polling).
)
 (tags (org:mirage org:xapi-project))
 (depends
  (ocaml (>= 4.06.0))
  (base64 (>= 3.3.0))
  (conduit (>= 5.1.0))
  (cohttp (>= 5.0.0))
  (ocplib-endian (>= 1.0))
  (astring (>= 0.8.3))
  mirage-crypto-rng))

(package
 (name websocket-async)
 (synopsis "Websocket library (Async)")
 (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 <iframe>s and long polling).
)
 (tags (org:mirage org:xapi-project))
 (depends
  (ocaml (>= 4.06.0))
  (websocket (= :version))
  (core (>= v0.15.0))
  (core_unix (>= v0.15.0))
  (async (>= v0.15.0))
  (cohttp-async (>= 5.0.0))
  (logs-async (>= 1.1))
  (logs-async-reporter (>= 1.0))))

(package
 (name websocket-lwt-unix)
 (synopsis "Websocket library (Lwt)")
 (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 <iframe>s and long polling).
)
 (tags (org:mirage org:xapi-project))
 (depends
  (ocaml (>= 4.06.0))
  (websocket (= :version))
  (lwt_log (>= 1.1.1))
  (cohttp-lwt-unix (>= 5.0.0))))