Module Async_rpc_kernel__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 only provides an async Pipe.t transport. Async_extra provides a unix transport based on Async_unix's Reader and Writer modules.

module Header : sig ... end

Binary headers containing message lengths. All transports should use this to ensure binary compatibility.

module Handler_result = Async_rpc_kernel__.Transport_intf.Handler_result
module Reader : sig ... end
module Send_result = Async_rpc_kernel__.Transport_intf.Send_result
module Writer : sig ... end
type t = {
reader : Reader.t;
writer : Writer.t;
}
include sig ... end
val sexp_of_t : t ‑> Sexplib.Sexp.t
val close : t ‑> unit Async_kernel.Deferred.t

Closes both parts of the transport.