struct

Amqp::Config

Inherits Struct < Value < Object

Constants

RECOGNIZED_QUERY_KEYS = {"heartbeat", "channel_max", "frame_max", "max_body_size", "max_inflight_body_bytes", "max_subscription_mailbox_bytes", "connect_timeout", "tcp_nodelay", "buffer_size", "recovery", "product", "information"}

Constructors

new(scheme : String, host : String, port : Int32, user : String, password : String, vhost : String, heartbeat : Time::Span, channel_max : UInt16, frame_max : UInt32, max_body_size : UInt64, max_inflight_body_bytes : UInt64, max_subscription_mailbox_bytes : UInt64, connect_timeout : Time::Span, tcp_nodelay : Bool, buffer_size : Int32, product : String, information : Nil | String, recovery : Bool = false, recovery_max_attempts : Int32 = 5, recovery_initial_delay : Time::Span = 500.milliseconds, recovery_max_delay : Time::Span = 10.seconds, tls_context : OpenSSL::SSL::Context::Client | Nil = nil)
Source
parse(uri_str : String, *, user : String | Nil = nil, password : String | Nil = nil, vhost : String | Nil = nil, heartbeat : Time::Span | Nil = nil, channel_max : UInt16 | Nil = nil, frame_max : UInt32 | Nil = nil, max_body_size : UInt64 | Nil = nil, max_inflight_body_bytes : UInt64 | Nil = nil, max_subscription_mailbox_bytes : UInt64 | Nil = nil, connect_timeout : Time::Span | Nil = nil, tcp_nodelay : Bool | Nil = nil, buffer_size : Int32 | Nil = nil, product : String | Nil = nil, information : String | Nil = nil, recovery : Bool | Recovery | Nil = nil, recovery_max_attempts : Int32 | Nil = nil, recovery_initial_delay : Time::Span | Nil = nil, recovery_max_delay : Time::Span | Nil = nil, tls_context : OpenSSL::SSL::Context::Client | Nil = nil) : Config
Source

Instance methods

buffer_size
Source
channel_max
Source
connect_timeout
Source
frame_max
Source
heartbeat
Source
host
Source
information
Source
max_body_size
Source
max_inflight_body_bytes
Source
max_subscription_mailbox_bytes
Source
password
Source
port
Source
product
Source
recovery?
Source
recovery_initial_delay
Source
recovery_max_attempts
Source
recovery_max_delay
Source
scheme
Source
tcp_nodelay?
Source
tls?
Source
tls_context
Source
user
Source
vhost
Source