Fixed WebSocket client stream

This commit is contained in:
Christian Kratky
2017-11-17 21:13:01 +01:00
parent 5bcda12ca9
commit acc269e702
11 changed files with 225 additions and 144 deletions
+2 -3
View File
@@ -1,5 +1,4 @@
using System;
using MQTTnet.Core.Protocol;
using MQTTnet.Core.Protocol;
namespace MQTTnet.Core.Packets
{
@@ -19,7 +18,7 @@ namespace MQTTnet.Core.Packets
{
return nameof(MqttPublishPacket) +
": [Topic=" + Topic + "]" +
" [Payload=" + Convert.ToBase64String(Payload) + "]" +
" [PayloadLength=" + Payload?.Length + "]" +
" [QoSLevel=" + QualityOfServiceLevel + "]" +
" [Dup=" + Dup + "]" +
" [Retain=" + Retain + "]" +