class MQTT::Transport::TCP
- MQTT::Transport::TCP
- MQTT::Transport
- Reference
- Object
Defined in:
mqtt/transport/tcp.crConstructors
Instance Method Summary
Instance methods inherited from class MQTT::Transport
close! : Nil
close!,
closed? : Bool
closed?,
error : Exception | Nil
error,
on_close(&on_close : -> )
on_close,
on_message(&on_message : Bytes -> ) : Nil
on_message,
on_tokenize(&on_tokenize : IO::Memory -> Int32)
on_tokenize,
send(message) : Nil
send
Constructor methods inherited from class MQTT::Transport
new
new
Constructor Detail
def self.new(host, port = MQTT::DEFAULT_PORT, tls_context : OpenSSL::SSL::Context::Client | Nil = nil, dns_timeout : Int32 = 10, connect_timeout : Int32 = 10)
#