class MQTT::Transport::Websocket
- MQTT::Transport::Websocket
- MQTT::Transport
- Reference
- Object
Defined in:
mqtt/transport/websocket.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 : String, path : String, port = nil, tls : HTTP::Client::TLSContext = nil, headers = HTTP::Headers.new)
#