package async_rpc_kernel

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

Metadata is arbitrary information provided by a caller along with the query. It is opaque to the Async RPC protocol, and may not be present on all queries. Metadata should generally be small, middleware-provided data that does not affect the callee's behavior (e.g. tracing ids). It may be subject to truncation if values provided are too large. See Connection.create for more info.

type t = string
val sexp_of_t : t -> Sexplib0.Sexp.t
val get : unit -> t option

Retrieves the metadata in the context of the current RPC call, if it is available.

OCaml

Innovation. Community. Security.