/
opam
35 lines (33 loc) · 1.46 KB
/
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
opam-version: "2.0"
maintainer: "Jane Street developers"
authors: ["Jane Street Group, LLC"]
homepage: "https://github.com/janestreet/async_rpc_websocket"
bug-reports: "https://github.com/janestreet/async_rpc_websocket/issues"
dev-repo: "git+https://github.com/janestreet/async_rpc_websocket.git"
doc: "https://ocaml.janestreet.com/ocaml-core/latest/doc/async_rpc_websocket/index.html"
license: "MIT"
build: [
["dune" "build" "-p" name "-j" jobs]
]
depends: [
"ocaml" {>= "4.14.0"}
"async_rpc_kernel" {>= "v0.16" & < "v0.17"}
"cohttp_async_websocket" {>= "v0.16" & < "v0.17"}
"ppx_jane" {>= "v0.16" & < "v0.17"}
"cohttp-async" {>= "2.5.7" & < "3.0.0" | >= "5.1.1" & < "6.0.0"}
"dune" {>= "2.0.0"}
]
synopsis: "Library to serve and dispatch Async RPCs over websockets"
description: "
Library to serve and dispatch Async RPCs over websockets.
Rpc_websocket makes it easy to serve and send Async RPCs with
HTTP+Websocket underlying the transport. It also provides a mechanism to share the
RPC implementations between a vanilla TCP server and a HTTP server.
On the server side, the library detects when a websocket connection
is established, and routes to an optionally provided vanilla HTTP handler
when non-websocket traffic occurs.
"
url {
src: "https://ocaml.janestreet.com/ocaml-core/v0.16/files/async_rpc_websocket-v0.16.0.tar.gz"
checksum: "sha256=06b585dd96c290a5f5e6c72bfbe1ff2b4985306423bd4bbdbc707025982b9a7c"
}