struct AMQP::Client::TCPConfig

Overview

record Tune, channel_max = 1024u16, frame_max = 131_072u32, heartbeat = 0u16

Defined in:

amqp-client.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(nodelay : Bool = false, keepalive_idle : Int32 = 60, keepalive_interval : Int32 = 10, keepalive_count : Int32 = 3, send_buffer_size : Int32 | Nil = nil, recv_buffer_size : Int32 | Nil = nil) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(nodelay _nodelay = @nodelay, keepalive_idle _keepalive_idle = @keepalive_idle, keepalive_interval _keepalive_interval = @keepalive_interval, keepalive_count _keepalive_count = @keepalive_count, send_buffer_size _send_buffer_size = @send_buffer_size, recv_buffer_size _recv_buffer_size = @recv_buffer_size) #

[View source]
def keepalive_count : Int32 #

[View source]
def keepalive_count=(keepalive_count : Int32) #

[View source]
def keepalive_idle : Int32 #

[View source]
def keepalive_idle=(keepalive_idle : Int32) #

[View source]
def keepalive_interval : Int32 #

[View source]
def keepalive_interval=(keepalive_interval : Int32) #

[View source]
def nodelay : Bool #

[View source]
def nodelay=(nodelay : Bool) #

[View source]
def recv_buffer_size : Int32? #

[View source]
def recv_buffer_size=(recv_buffer_size : Int32 | Nil) #

[View source]
def send_buffer_size : Int32? #

[View source]
def send_buffer_size=(send_buffer_size : Int32 | Nil) #

[View source]