= 768" x-on:close-sidebar="sidebar=window.innerWidth >= 768 && true">
Library to serve and dispatch Async RPCs over websockets
Install
copied = false, 2000)"
:class="{ 'border-gray-700': !copied, 'text-gray-100': !copied, 'focus:ring-orange-500': !copied, 'focus:border-orange-500': !copied, 'border-green-600': copied, 'text-green-600': copied, 'focus:ring-green-500': copied, 'focus:border-green-500': copied }">
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)
-
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"
Dev Dependencies
-
None
Used by (2)
-
bonsai
>= "v0.15.0"
-
memtrace_viewer
>= "v0.15.0"
Conflicts
-
None
On This Page