package ocamlformat-rpc-lib

  1. Overview
  2. Docs
type t
type cmd = Command.t
val pid : t -> int
val mk : pid:int -> in_channel -> out_channel -> t
val query : cmd -> t -> cmd
val halt : t -> (unit, [> `Msg of string ]) result
val config : (string * string) list -> t -> (unit, [> `Msg of string ]) result
val format : string -> t -> (string, [> `Msg of string ]) result
OCaml

Innovation. Community. Security.