-
Notifications
You must be signed in to change notification settings - Fork 44
/
websocket-lwt-unix.opam
49 lines (47 loc) · 1.56 KB
/
websocket-lwt-unix.opam
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
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
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).
"""
maintainer: ["Vincent Bernardoff <[email protected]>"]
authors: ["Vincent Bernardoff <[email protected]>"]
license: "ISC"
tags: ["org:mirage" "org:xapi-project"]
homepage: "https://github.com/vbmithr/ocaml-websocket"
doc: "https://vbmithr.github.io/ocaml-websocket/doc"
bug-reports: "https://github.com/vbmithr/ocaml-websocket/issues"
depends: [
"dune" {>= "2.9"}
"ocaml" {>= "4.06.0"}
"websocket" {= version}
"lwt_log" {>= "1.1.1"}
"cohttp-lwt-unix" {>= "5.0.0"}
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"--promote-install-files=false"
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
["dune" "install" "-p" name "--create-install-files" name]
]
dev-repo: "git+https://github.com/vbmithr/ocaml-websocket.git"