struct
Crabbit::Broker
- Crabbit::Broker
- Struct
- Value
- Object
Overview
Broker address returned by RabbitMQ stream metadata.
reference is scoped to a metadata response and should not be persisted.
Defined in:
crabbit/types.crConstructors
Instance Method Summary
- #clone
- #copy_with(reference _reference = @reference, host _host = @host, port _port = @port)
-
#endpoint(tls : Bool = false) : Endpoint
Converts the advertised broker address to an
Endpoint. - #host : String
- #port : Int32
- #reference : UInt16
Constructor Detail
Instance Method Detail
def copy_with(reference _reference = @reference, host _host = @host, port _port = @port)
#
Converts the advertised broker address to an Endpoint.