struct
Crabbit::Endpoint
- Crabbit::Endpoint
- Struct
- Value
- Object
Overview
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.
Defined in:
crabbit/types.crConstructors
- .new(host : String, port : Int32 = 5552, tls : Bool = false)
-
.tls(host : String, port : Int32 = 5551) : self
Creates a TLS endpoint for host and port.
Instance Method Summary
- #clone
- #copy_with(host _host = @host, port _port = @port, tls _tls = @tls)
- #host : String
- #port : Int32
- #tls : Bool
Constructor Detail
Creates a TLS endpoint for host and port.