mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-16 01:03:01 +08:00
span based reader
This commit is contained in:
@@ -54,6 +54,7 @@ namespace MQTTnet.AspNetCore
|
||||
public async Task<MqttBasePacket> ReceivePacketAsync(TimeSpan timeout, CancellationToken cancellationToken)
|
||||
{
|
||||
var input = Connection.Transport.Input;
|
||||
var reader = new SpanBasedMqttPacketBodyReader();
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user