package dune-rpc

  1. Overview
  2. Docs
type ('req, 'resp) gen
val make_gen : req:'wire_req Conv.value -> resp:'wire_resp Conv.value -> upgrade_req:('wire_req -> 'req) -> downgrade_req:('req -> 'wire_req) -> upgrade_resp:('wire_resp -> 'resp) -> downgrade_resp:('resp -> 'wire_resp) -> version:Method.Version.t -> ('req, 'resp) gen
val make_current_gen : req:'req Conv.value -> resp:'resp Conv.value -> version:Method.Version.t -> ('req, 'resp) gen
type ('a, 'b) t
val make : method_:Method.Name.t -> generations:('req, 'resp) gen list -> ('req, 'resp) t
val print_generations : ('req, 'resp) t -> unit
type ('a, 'b) witness
val witness : ('a, 'b) t -> ('a, 'b) witness
OCaml

Innovation. Community. Security.