Module Async_extra.Rpc_transport_low_latency.Config

type t
include sig ... end
val t_of_sexp : Sexplib.Sexp.t ‑> t
val sexp_of_t : t ‑> Sexplib.Sexp.t
val create : ?max_message_size:int ‑> ?initial_buffer_size:int ‑> ?max_buffer_size:int ‑> ?write_timeout:Core.Time_ns.Span.t ‑> ?buffering_threshold_in_bytes:int ‑> ?start_batching_after_num_messages:int ‑> unit ‑> t

- max_message_size is the maximum message size a reader/writer will accept to receive/send.

Note that start_batching_after_num_messages and buffering_threshold_in_bytes have somewhat opposite meanings: the former determines when to start batching and the latter determines when to write data that has been batched.