mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-18 02:13:00 +08:00
Added the bound IP address to the server options.
This commit is contained in:
@@ -1,9 +1,13 @@
|
||||
namespace MQTTnet.Server
|
||||
using System.Net;
|
||||
|
||||
namespace MQTTnet.Server
|
||||
{
|
||||
public sealed class MqttServerDefaultEndpointOptions
|
||||
{
|
||||
public bool IsEnabled { get; set; } = true;
|
||||
|
||||
public int? Port { get; set; }
|
||||
|
||||
public IPAddress BoundIPAddress { get; set; } = IPAddress.Any;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user