package async_extra

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Async_reader = Async_extra.Import.Reader

The Reader and Writer modules from Async, renamed to avoid conflicting with Reader and Writer below.

module Async_writer = Async_extra.Import.Writer
module Reader : sig ... end
module Writer : sig ... end
include module type of struct include Async_extra.Import.Rpc_kernel.Transport end with module Reader := Reader with module Writer := Writer

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

type t = Async_rpc_kernel.Transport.t = {
  1. reader : Reader.t;
  2. 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.

val of_reader_writer : max_message_size:int -> Async_reader.t -> Async_writer.t -> t
val of_fd : ?buffer_age_limit:Async_writer.buffer_age_limit -> ?reader_buffer_size:int -> max_message_size:int -> Async_extra.Import.Fd.t -> t
OCaml

Innovation. Community. Security.