Up

Module Transport

RPC transport layer

A transport is a way to send and receive messages. It is split between a Reader and a Writer part.

Async_rpc_kernel provides no transport. Async_extra provides a unix transport based on Async_unix's Reader and Writer modules.

Signature

module Header : sig .. end
Binary headers containing message lengths.
module Reader : sig .. end
module Writer : sig .. end
type t = {
reader
: Reader.t ;
writer
: Writer.t ;
}
val sexp_of_t : t -> Sexplib.Sexp.t
val close : t -> unit Async_kernel.Std.Deferred.t

Closes both parts of the transport.