package amqp-client-lwt

  1. Overview
  2. Docs

Module Connection.TuneSource

This method proposes a set of connection configuration values to the client. The client can accept and/or adjust these.

Sourcetype t = {
  1. channel_max : Amqp_client_lib.Types.short;
    (*

    Specifies highest channel number that the server permits. Usable channel numbers are in the range 1..channel-max. Zero indicates no specified limit.

    *)
  2. frame_max : Amqp_client_lib.Types.long;
    (*

    The largest frame size that the server proposes for the connection, including frame header and end-byte. The client can negotiate a lower value. Zero means that the server does not impose any specific limit but may reject very large frames if it cannot allocate resources for them.

    *)
  3. heartbeat : Amqp_client_lib.Types.short;
    (*

    The delay, in seconds, of the connection heartbeat that the server wants. Zero means the server does not want a heartbeat.

    *)
}
Sourceval init : channel_max:Amqp_client_lib.Types.short -> frame_max:Amqp_client_lib.Types.long -> heartbeat:Amqp_client_lib.Types.short -> unit -> t
OCaml

Innovation. Community. Security.