package ocamlformat-rpc

  1. Overview
  2. Docs
type t = Ocamlformat_rpc_lib.Make(IO).V1.Client.t
type cmd = Command.t
val pid : t -> int
val mk : pid:int -> IO.ic -> IO.oc -> t
val query : cmd -> t -> cmd IO.t
val halt : t -> (unit, [> `Msg of string ]) Stdlib.result IO.t
val config : (string * string) list -> t -> (unit, [> `Msg of string ]) Stdlib.result IO.t
val format : string -> t -> (string, [> `Msg of string ]) Stdlib.result IO.t
OCaml

Innovation. Community. Security.