Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
mqtt-client
main
MQTT
BadCredentials
Client
Connection
Disconnect
Message
Packet
PingReq
PubAck
PubComp
Publish
PubRec
PubRel
Reader
Message
ReceivedMessage
SocketOptions
Subscribe
Unsubscribe
Writer
ConnectError
Error
IdentifierReject
InvalidProtocolVersion
InvalidResponse
NotAuthorized
ServerUnavailable
TimeoutError
UnexpectedPacket
Generated using Crystal 1.16.0
2025-04-30 16:28:31 UTC
struct
MQTT::
Client::
PubRel
MQTT::Client::PubRel
MQTT::Client::Packet
Struct
Value
Object
Defined in:
mqtt-client/connection/packet.cr
Constructors
.new
(packet_id : UInt16)
Instance Method Summary
#clone
#copy_with
(packet_id _packet_id = @packet_id)
#packet_id
: UInt16
Instance methods inherited from struct
MQTT::Client::Packet
initialize
initialize
Constructor methods inherited from struct
MQTT::Client::Packet
new
new
Constructor Detail
def self.
new
(packet_id : UInt16)
#
[
View source
]
Instance Method Detail
def
clone
#
[
View source
]
def
copy_with
(packet_id _packet_id = @packet_id)
#
[
View source
]
def
packet_id
: UInt16
#