async_rpc_websocket

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.

Install
Published
21 Mar 2022
Sources
async_rpc_websocket-v0.15.0.tar.gz
sha256=7ddea6f08866bc65bfaa7168103b3dc867c3eac5bcc7196511375af8dc112a0b
Dependencies
dune
>= "2.0.0"
cohttp-async
>= "2.5.6" & < "3.0.0" | >= "5.0.0"
ppx_jane
>= "v0.15" & < "v0.16"
cohttp_async_websocket
>= "v0.15" & < "v0.16"
async_rpc_kernel
>= "v0.15" & < "v0.16"
ocaml
>= "4.08.0"
Reverse Dependencies
bonsai
>= "v0.15.0"
memtrace_viewer
>= "v0.15.0"