class AMQP::Client

Defined in:

amqp-client.cr
amqp-client/channel.cr
amqp-client/connection.cr
amqp-client/exchange.cr
amqp-client/message.cr
amqp-client/queue.cr
amqp-client/sync.cr
amqp-client/version.cr

Constant Summary

LOG = ::Log.for(self)
VERSION = "0.6.1"

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(url : String) #

[View source]
def self.new(uri : URI) #

[View source]
def self.new(host : String = "localhost", port : Int32 = 5672, vhost : String = "/", user : String = "guest", password : String = "guest", tls : Bool = false, channel_max : UInt16 = 1024_u16, frame_max : UInt32 = 131072_u32, heartbeat : UInt16 = 0_u16, verify_mode : LibSSL::VerifyMode = OpenSSL::SSL::VerifyMode::PEER, name : String | Nil = File.basename(PROGRAM_NAME)) #

[View source]

Class Method Detail

def self.start(url : String | URI, &blk : AMQP::Client::Connection -> _) #

[View source]
def self.start(host = "localhost", port = 5672, vhost = "/", user = "guest", password = "guest", tls = false, channel_max = 1024_u16, frame_max = 131072_u32, heartbeat = 0_u16, verify_mode = OpenSSL::SSL::VerifyMode::PEER, name = nil, &blk : AMQP::Client::Connection -> _) #

[View source]

Instance Method Detail

def connect : Connection #

[View source]