Skip to content

Commit 34b5301

Browse files
authored
Update WebSocketServerOptions.cs
Made WebsocketServerOptions writable
1 parent e248408 commit 34b5301

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Websockets/WebSocketServer/WebSocketServerOptions.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,21 @@ public class WebSocketServerOptions : WebSocketOptions
1515
/// <summary>
1616
/// The local Port to listen on.
1717
/// </summary>
18-
public int Port { get; internal set; } = 80;
18+
public int Port { get; set; } = 80;
1919

2020
/// <summary>
2121
/// The server name that is presented to the client during the handshake
2222
/// </summary>
23-
public string ServerName { get; internal set; } = "NFWebSocketServer";
23+
public string ServerName { get; set; } = "NFWebSocketServer";
2424

2525
/// <summary>
2626
/// The maximum number of clients that can connect to the server.
2727
/// </summary>
28-
public int MaxClients { get; internal set; } = 10;
28+
public int MaxClients { get; set; } = 10;
2929

3030
/// <summary>
3131
/// The remote Prefix clients need to connect to.
3232
/// </summary>
33-
public string Prefix { get; internal set; } = "/";
33+
public string Prefix { get; set; } = "/";
3434
}
3535
}

0 commit comments

Comments
 (0)