Refactor settings.

This commit is contained in:
Christian Kratky
2019-03-11 21:15:02 +01:00
parent 1311535eed
commit 3450889e84
6 changed files with 21 additions and 22 deletions
@@ -23,17 +23,17 @@
/// <summary>
/// Listen Settings
/// </summary>
public TcpEndpointModel TcpEndPoint { get; set; } = new TcpEndpointModel();
public TcpEndPointModel TcpEndPoint { get; set; } = new TcpEndPointModel();
/// <summary>
/// Encryption Listen Settings
/// </summary>
public TcpEndpointModel EncryptedTcpEndPoint { get; set; } = new TcpEndpointModel();
public TcpEndPointModel EncryptedTcpEndPoint { get; set; } = new TcpEndPointModel();
/// <summary>
/// Settings for the Web Socket endpoint.
/// </summary>
public WebSocketEndpointModel WebSocketEndpoint { get; set; } = new WebSocketEndpointModel();
public WebSocketEndPointModel WebSocketEndPoint { get; set; } = new WebSocketEndPointModel();
/// <summary>
/// Set limit for max pending messages per client
@@ -6,15 +6,8 @@ namespace MQTTnet.Server.Configuration
/// <summary>
/// Listen Entry Settings Model
/// </summary>
public class TcpEndpointModel
public class TcpEndPointModel
{
/// <summary>
/// Constructor
/// </summary>
public TcpEndpointModel()
{
}
/// <summary>
/// Path to Certificate
/// </summary>
@@ -3,7 +3,7 @@ using System.Collections.Generic;
namespace MQTTnet.Server.Configuration
{
public class WebSocketEndpointModel
public class WebSocketEndPointModel
{
public bool Enabled { get; set; } = true;