Expand description
MIT License
Copyright (c) 2025 Takatoshi Kondo
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Modules§
Structs§
- Assigned
Client Identifier - Authentication
Data - Authentication
Method - Content
Type - Correlation
Data - Maximum
Packet Size - Maximum
Qos - Message
Expiry Interval - Mqtt
Binary - MQTT Binary Data representation with pre-encoded byte buffer
- Mqtt
String - MQTT String representation with pre-encoded byte buffer
- Payload
Format Indicator - Reason
String - Receive
Maximum - Request
Problem Information - Request
Response Information - Response
Information - Response
Topic - Retain
Available - Server
Keep Alive - Server
Reference - Session
Expiry Interval - Shared
Subscription Available - SubEntry
- MQTT Subscription Entry
- SubOpts
- MQTT Subscription Options
- Subscription
Identifier - Subscription
Identifier Available - Topic
Alias - Topic
Alias Maximum - Topic
Alias Recv - Topic alias manager for receiving MQTT packets
- Topic
Alias Send - Topic alias manager for sending MQTT packets
- User
Property - Variable
Byte Integer - MQTT Variable Byte Integer representation with pre-encoded byte buffer.
- Wildcard
Subscription Available - Will
Delay Interval
Enums§
- Decode
Result - Result for streaming decode.
- Fixed
Header - MQTT Fixed Header first byte enumeration
- Generic
Packet - Generic
Store Packet - Packet
Type - MQTT Control Packet Type enumeration
- Payload
Format - Payload Format Indicator values
- Property
- MQTT v5.0 Property enum
- Property
Id - MQTT v5.0 Property Identifiers
- Qos
- MQTT Quality of Service levels
- Response
Packet - ResponsePacket denotes the type of the response matching a stored packet.
- Retain
Handling - Retain Handling Option for MQTT Subscriptions
Traits§
- Generic
Packet Display - Generic
Packet Trait - IsPacket
Id - Packet ID types with associated buffer operations
- Properties
Parse - Trait for parsing properties collection from byte data
- Properties
Size - Trait for calculating the total encoded size of properties collection
- Properties
ToBuffers - Trait for converting properties collection to I/O buffers
Functions§
Type Aliases§
- Packet
- Properties
- Collection of MQTT properties
- Store
Packet