From 6b8c67888731f7dd210acdb2b1160cdbdbe30d47 Mon Sep 17 00:00:00 2001 From: vnugent Date: Fri, 28 Jun 2024 15:48:22 -0400 Subject: refactor: Update service stack to reflect new loading patterns --- lib/Net.Messaging.FBM/src/Server/FBMListenerSessionParams.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib/Net.Messaging.FBM/src/Server') 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 /// - public readonly int RecvBufferSize { get; init; } + public required readonly int RecvBufferSize { get; init; } /// /// The size of the buffer to store values in /// the /// - public readonly int MaxHeaderBufferSize { get; init; } + public required readonly int MaxHeaderBufferSize { get; init; } /// /// The size of the internal message response buffer when /// not streaming /// - public readonly int ResponseBufferSize { get; init; } + public required readonly int ResponseBufferSize { get; init; } /// /// The FMB message header character encoding /// - public readonly Encoding HeaderEncoding { get; init; } + public required readonly Encoding HeaderEncoding { get; init; } /// /// 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 /// - public readonly int MaxMessageSize { get; init; } + public required readonly int MaxMessageSize { get; init; } } } -- cgit