mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-11-01 19:54:07 +08:00
Add flag for secure connections.
This commit is contained in:
@@ -73,7 +73,9 @@ namespace MQTTnet.Benchmarks
|
||||
_position = _buffer.Offset;
|
||||
}
|
||||
|
||||
public string Endpoint { get; }
|
||||
public string Endpoint { get; } = string.Empty;
|
||||
|
||||
public bool IsSecureConnection { get; } = false;
|
||||
|
||||
public void Reset()
|
||||
{
|
||||
|
||||
@@ -14,7 +14,9 @@ namespace MQTTnet.Tests.Mockups
|
||||
|
||||
public TestMqttCommunicationAdapter Partner { get; set; }
|
||||
|
||||
public string Endpoint { get; }
|
||||
public string Endpoint { get; } = string.Empty;
|
||||
|
||||
public bool IsSecureConnection { get; } = false;
|
||||
|
||||
public MqttPacketFormatterAdapter PacketFormatterAdapter { get; } = new MqttPacketFormatterAdapter(MqttProtocolVersion.V311);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user