abstract class MQTT::Transport

Direct Known Subclasses

Defined in:

mqtt/transport.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

abstract def close! : Nil #

[View source]
abstract def closed? : Bool #

[View source]
def error : Exception | Nil #

[View source]
def on_close(&on_close : -> ) #

[View source]
def on_message(&on_message : Bytes -> ) : Nil #

[View source]
def on_tokenize(&on_tokenize : IO::Memory -> Int32) #

[View source]
abstract def send(message) : Nil #

[View source]