package async_rpc_websocket

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

Install

Dune Dependency

Authors

Maintainers

Sources

async_rpc_websocket-v0.15.0.tar.gz
sha256=7ddea6f08866bc65bfaa7168103b3dc867c3eac5bcc7196511375af8dc112a0b

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: 21 Mar 2022

Dependencies (6)

  1. dune >= "2.0.0"
  2. cohttp-async >= "2.5.6" & < "3.0.0" | >= "5.0.0"
  3. ppx_jane >= "v0.15" & < "v0.16"
  4. cohttp_async_websocket >= "v0.15" & < "v0.16"
  5. async_rpc_kernel >= "v0.15" & < "v0.16"
  6. ocaml >= "4.08.0"

Dev Dependencies

None

Used by (2)

  1. bonsai >= "v0.15.0" & < "v0.16.0"
  2. memtrace_viewer = "v0.15.0"

Conflicts

None

OCaml

Innovation. Community. Security.