package twirp_cohttp_lwt_unix

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include module type of Twirp_core.Client.Common
module Error : sig ... end
module Log : sig ... end
type headers = (string * string) list
type error = Error.error
val pp_error : Stdlib.Format.formatter -> Error.error -> unit
val show_error : Error.error -> string
val pp_truncate_str : max:int -> Stdlib.Format.formatter -> string -> unit
val call : ?encoding:[ `JSON | `BINARY ] -> ?prefix:string option -> ?use_tls:bool -> ?headers:headers -> host:string -> port:int -> ('req, Pbrt_services.Value_mode.unary, 'res, Pbrt_services.Value_mode.unary) Pbrt_services.Client.rpc -> 'req -> ('res, error) Stdlib.result Lwt.t
OCaml

Innovation. Community. Security.