mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-20 11:45:43 +08:00
Use the data converter only when creating packets.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
public sealed class MqttPingRespPacket : MqttBasePacket
|
||||
{
|
||||
// This is a minor performance improvement.
|
||||
public static MqttPingRespPacket Instance = new MqttPingRespPacket();
|
||||
public static readonly MqttPingRespPacket Instance = new MqttPingRespPacket();
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user