21 lines
564 B
C#
21 lines
564 B
C#
namespace Bts.Websocket;
|
|
|
|
using bts;
|
|
|
|
public class WebsocketServerConfig : ICloneable<WebsocketServerConfig> {
|
|
public string? Host { get; set; }
|
|
public string? Port { get; set; }
|
|
public string? Scheme { get; set; }
|
|
public string? DefaultEndPoint { get; set; }
|
|
public double KeepAliveIntervalSecs { get; set; }
|
|
|
|
public WebsocketServerConfig Clone() =>
|
|
new() {
|
|
Host = Host,
|
|
Port = Port,
|
|
Scheme = Scheme,
|
|
DefaultEndPoint = DefaultEndPoint,
|
|
KeepAliveIntervalSecs = KeepAliveIntervalSecs,
|
|
};
|
|
}
|