Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
mqtt-protocol
main
Top Level Namespace
MQTT
Protocol
Connack
ReturnCode
Connect
Disconnect
Error
BadCredentials
Connect
IdentifierRejected
InvalidConnackFlags
InvalidFlags
NotAuthorized
PacketDecode
PacketEncode
ServerUnavailable
UnacceptableProtocolVersion
Flags
IO
Packet
PingReq
PingResp
PubAck
PubComp
Publish
PubRec
PubRel
SimplePacket
SubAck
ReturnCode
Subscribe
TopicFilter
UnsubAck
Unsubscribe
Will
Generated using Crystal 1.16.0
2025-04-19 12:38:07 UTC
struct
MQTT::
Protocol::
Subscribe::
TopicFilter
MQTT::Protocol::Subscribe::TopicFilter
Struct
Value
Object
Defined in:
mqtt/protocol/packets/subscribe.cr
Constructors
.new
(topic : String, qos : UInt8)
Instance Method Summary
#clone
#copy_with
(topic _topic = @topic, qos _qos = @qos)
#qos
: UInt8
#topic
: String
Constructor Detail
def self.
new
(topic : String, qos : UInt8)
#
[
View source
]
Instance Method Detail
def
clone
#
[
View source
]
def
copy_with
(topic _topic = @topic, qos _qos = @qos)
#
[
View source
]
def
qos
: UInt8
#
def
topic
: String
#