abstract class
MQTT::Transport
- MQTT::Transport
- Reference
- Object
Direct Known Subclasses
Defined in:
mqtt/transport.crConstructors
Instance Method Summary
- #close! : Nil
- #closed? : Bool
- #error : Exception | Nil
- #on_close(&on_close : -> )
- #on_message(&on_message : Bytes -> ) : Nil
- #on_tokenize(&on_tokenize : IO::Memory -> Int32)
- #send(message) : Nil
-
#start : Nil
Begins consuming data from the remote host.
Constructor Detail
Instance Method Detail
abstract
def start : Nil
#
Begins consuming data from the remote host. Called by the client once its callbacks have been configured so that no data can arrive before there is something able to process it