package async_rpc_websocket

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

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.0.tar.gz
sha256=c0303047764087e6ee5b4913c9c1d432c7f8e97bb8d9bb9ef45abd94997b179b

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: 26 May 2024

Dependencies (6)

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

Dev Dependencies

None

Used by (2)

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

Conflicts

None

OCaml

Innovation. Community. Security.