Bläddra i källkod

use buffered receive stream

release/3.x.x
Eggers Jan 7 år sedan
förälder
incheckning
27bb22de09
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. +1
    -1
      MQTTnet.Core/Adapter/MqttChannelCommunicationAdapter.cs

+ 1
- 1
MQTTnet.Core/Adapter/MqttChannelCommunicationAdapter.cs Visa fil

@@ -65,7 +65,7 @@ namespace MQTTnet.Core.Adapter
}
else
{
tuple = await ReceiveAsync(_channel.RawStream).ConfigureAwait(false);
tuple = await ReceiveAsync(_channel.ReceiveStream).ConfigureAwait(false);
}

var packet = PacketSerializer.Deserialize(tuple.Item1, tuple.Item2);


Laddar…
Avbryt
Spara