mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-15 00:15:15 +08:00
19 lines
414 B
C#
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; }
|
|
}
|
|
}
|