aboutsummaryrefslogtreecommitdiff
path: root/lib/Net.Messaging.FBM
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2024-06-28 15:48:22 -0400
committerLibravatar vnugent <public@vaughnnugent.com>2024-06-28 15:48:22 -0400
commit6b8c67888731f7dd210acdb2b1160cdbdbe30d47 (patch)
treed4eb2d4b2b522bb6936671f7648a29521446b72b /lib/Net.Messaging.FBM
parent12391e9a207b60b41a074600fc2373ad3eb1c3ab (diff)
refactor: Update service stack to reflect new loading patterns
Diffstat (limited to 'lib/Net.Messaging.FBM')
-rw-r--r--lib/Net.Messaging.FBM/src/Server/FBMListenerSessionParams.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/Net.Messaging.FBM/src/Server/FBMListenerSessionParams.cs b/lib/Net.Messaging.FBM/src/Server/FBMListenerSessionParams.cs
index 0b4fa5b..435284b 100644
--- a/lib/Net.Messaging.FBM/src/Server/FBMListenerSessionParams.cs
+++ b/lib/Net.Messaging.FBM/src/Server/FBMListenerSessionParams.cs
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2023 Vaughn Nugent
+* Copyright (c) 2024 Vaughn Nugent
*
* Library: VNLib
* Package: VNLib.Net.Messaging.FBM
@@ -36,27 +36,27 @@ namespace VNLib.Net.Messaging.FBM.Server
/// The size of the buffer to use while reading data from the websocket
/// in the listener loop
/// </summary>
- public readonly int RecvBufferSize { get; init; }
+ public required readonly int RecvBufferSize { get; init; }
/// <summary>
/// The size of the buffer to store <see cref="FBMMessageHeader"/> values in
/// the <see cref="FBMRequestMessage"/>
/// </summary>
- public readonly int MaxHeaderBufferSize { get; init; }
+ public required readonly int MaxHeaderBufferSize { get; init; }
/// <summary>
/// The size of the internal message response buffer when
/// not streaming
/// </summary>
- public readonly int ResponseBufferSize { get; init; }
+ public required readonly int ResponseBufferSize { get; init; }
/// <summary>
/// The FMB message header character encoding
/// </summary>
- public readonly Encoding HeaderEncoding { get; init; }
+ public required readonly Encoding HeaderEncoding { get; init; }
/// <summary>
/// The absolute maxium size (in bytes) message to process before
/// closing the websocket connection. This value should be negotiaed
/// by clients or hard-coded to avoid connection issues
/// </summary>
- public readonly int MaxMessageSize { get; init; }
+ public required readonly int MaxMessageSize { get; init; }
}
}