Add missing method for setting encrpted IPv6 address.

* Clean up
This commit is contained in:
Kiarash
2019-03-10 16:34:18 +01:00
parent 7321774c45
commit 0e2c3abd05
4 changed files with 12 additions and 6 deletions
@@ -75,6 +75,12 @@ namespace MQTTnet.Server
return this;
}
public MqttServerOptionsBuilder WithEncryptedEndpointBoundIPV6Address(IPAddress value)
{
_options.TlsEndpointOptions.BoundInterNetworkV6Address = value;
return this;
}
public MqttServerOptionsBuilder WithEncryptionCertificate(byte[] value)
{
_options.TlsEndpointOptions.Certificate = value;