package async_rpc_websocket

  1. Overview
  2. No Docs
Library to serve and dispatch Async RPCs over websockets

Install

Dune Dependency

Authors

Maintainers

Sources

async_rpc_websocket-v0.16.0.tar.gz
sha256=06b585dd96c290a5f5e6c72bfbe1ff2b4985306423bd4bbdbc707025982b9a7c

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.

Published: 14 Jun 2023

Dependencies (6)

  1. dune >= "2.0.0"
  2. cohttp-async >= "2.5.7" & < "3.0.0" | >= "5.1.1" & < "6.0.0"
  3. ppx_jane >= "v0.16" & < "v0.17"
  4. cohttp_async_websocket >= "v0.16" & < "v0.17"
  5. async_rpc_kernel >= "v0.16" & < "v0.17"
  6. ocaml >= "4.14.0"

Dev Dependencies

None

Used by (2)

  1. bonsai >= "v0.16.0"
  2. memtrace_viewer >= "v0.16.0"

Conflicts

None