Client.Make
module IO = P.IO
type client = P.client
val call :
?encoding:[ `JSON | `BINARY ] ->
?prefix:string option ->
?use_tls:bool ->
?headers:Common.headers ->
host:string ->
port:int ->
client ->
('req, Pbrt_services.Value_mode.unary, 'res, Pbrt_services.Value_mode.unary)
Pbrt_services.Client.rpc ->
'req ->
('res, Common.error) result IO.t