mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-18 18:43:10 +08:00
Add support for V3.1.0; Performance improvements
This commit is contained in:
@@ -27,6 +27,8 @@ namespace MQTTnet.Core.Client
|
||||
{
|
||||
_options = options ?? throw new ArgumentNullException(nameof(options));
|
||||
_adapter = adapter ?? throw new ArgumentNullException(nameof(adapter));
|
||||
|
||||
_adapter.PacketSerializer.ProtocolVersion = options.ProtocolVersion;
|
||||
}
|
||||
|
||||
public event EventHandler Connected;
|
||||
|
||||
Reference in New Issue
Block a user