Skip to content

Commit 349124b

Browse files
Update StaticObject.cs
1 parent ec453a5 commit 349124b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

class/StaticObject.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ internal static class StaticObject
1414
internal static char OsDirectorySplitter = OperatingSystem.IsWindows() ? '\\' : '/';
1515
internal static string ErrorPagePathBeforeValue { get; private set; }
1616
internal static string ErrorPagePathAfterValue { get; private set; }
17-
17+
internal static int MaxWebSocketConnectionsPerClient { get; private set; }
18+
internal static int WebSocketBufferSize { get; private set; }
1819

1920
internal static void SetValue()
2021
{
@@ -48,6 +49,9 @@ internal static void SetValue()
4849
ErrorPagePathBeforeValue = options.ErrorPagePath.GetTextBeforeValue("{value}");
4950
ErrorPagePathAfterValue = options.ErrorPagePath.GetTextAfterValue("{value}");
5051

52+
MaxWebSocketConnectionsPerClient = options.MaxWebSocketConnectionsPerClient;
53+
WebSocketBufferSize = options.WebSocketBufferSize;
54+
5155
StaticObjectHasInitialization = true;
5256
}
5357
}

0 commit comments

Comments
 (0)