Twirp_cohttp_lwt_unixinclude module type of Twirp_core.Client.Commonmodule Error = Twirp_core.Errormodule Log = Twirp_core.Client.Common.Logtype error = Error.errorval pp_error : Stdlib.Format.formatter -> Error.error -> unitval show_error : Error.error -> stringval pp_truncate_str : max:int -> Stdlib.Format.formatter -> string -> unitPrint at most max bytes of s in "%S" form
val call :
?encoding:[ `JSON | `BINARY ] ->
?prefix:string option ->
?headers:headers ->
base_url:string ->
('req, Pbrt_services.Value_mode.unary, 'res, Pbrt_services.Value_mode.unary)
Pbrt_services.Client.rpc ->
'req ->
('res, error) result Lwt.t