Files
MQTTnet/Source/MQTTnet.Server/Configuration/WebSocketEndpointModel.cs
T
2019-03-11 21:15:02 +01:00

19 lines
414 B
C#

using System.Collections.Generic;
namespace MQTTnet.Server.Configuration
{
public class WebSocketEndPointModel
{
public bool Enabled { get; set; } = true;
public string Path { get; set; } = "/mqtt";
public int ReceiveBufferSize { get; set; } = 4096;
public int KeepAliveInterval { get; set; } = 120;
public List<string> AllowedOrigins { get; set; }
}
}