= 768" x-on:close-sidebar="sidebar=window.innerWidth >= 768 && true">
val rpc : R.request_hdr -> R.request_body -> R.response_body -> client -> (unit, Protocol.Error.t) Result.t Lwt.t
rpc req_hdr req_body response_body client sends a request to the server, and saves the response into
response_body. Will block until a response to this request is received from the server.
val create : R.transport -> client Lwt.t
create transport creates a new client that manages parallel requests over the given transport channel. All communication over this channel must go through the returned client.