struct

Crabbit::Endpoint

Inherits Struct < Value < Object

Network address of a RabbitMQ Stream listener.

tls controls whether the connection uses TLS. The default plain-text port is 5552; use .tls for the conventional TLS port 5551.

Constructors

new(host : String, port : Int32 = 5552, tls : Bool = false)
Source
tls(host : String, port : Int32 = 5551) : self

Creates a TLS endpoint for host and port.

Source

Instance methods

clone
Source
copy_with(host _host = @host, port _port = @port, tls _tls = @tls)
Source
host
port
tls