package async_rpc_kernel

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

A directory of supported rpc names, versions, and query/response shapes.

val add : 's Rpc.Implementation.t list -> 's Rpc.Implementation.t list

add impls extends a list of rpc implementations with two additional rpcs:

  • One that serves a Menu.t that can be requested with Menu.request
  • One that serves a Menu.With_shapes.t that can be requested with Menu.With_shapes.request.

(If you use Menu.With_shapes.add, you never need to call Menu.add)

Requests an rpc version menu with shapes from an rpc connection.