package nbd

  1. Overview
  2. Docs

Parameters

module R : RPC

Signature

type client

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.