You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using System;
- using System.IO;
-
- namespace MQTTnet.Adapter
- {
- public class ReceivedMqttPacket : IDisposable
- {
- public ReceivedMqttPacket(byte fixedHeader, MemoryStream body)
- {
- FixedHeader = fixedHeader;
- Body = body;
- }
-
- public byte FixedHeader { get; }
-
- public MemoryStream Body { get; }
-
- public void Dispose()
- {
- Body?.Dispose();
- }
- }
- }
|