Set web socket boundaries correctly (#1514)

This commit is contained in:
Christian
2022-09-13 08:50:02 +02:00
committed by GitHub
parent f5d9b65139
commit 3ab095a568
10 changed files with 120 additions and 101 deletions
@@ -104,7 +104,7 @@ namespace MQTTnet.Benchmarks
return Task.FromResult(count);
}
public Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
public Task WriteAsync(ArraySegment<byte> buffer, bool isEndOfPacket, CancellationToken cancellationToken)
{
throw new NotSupportedException();
}