增加编解码异常,增加Mqtt实现,太臃肿了
大石头 authored at 2018-04-23 15:34:06
400.00 B
X

namespace NewLife.Net.MQTT.Packets
{
    /// <summary>心跳请求</summary>
    public sealed class PingReqPacket : DataPacket
    {
        /// <summary>实例</summary>
        public static readonly PingReqPacket Instance = new PingReqPacket();

        PingReqPacket() { }

        /// <summary>包类型</summary>
        public override PacketType PacketType => PacketType.PINGREQ;
    }
}