diff options
Diffstat (limited to 'Libs/VNLib.Plugins.Essentials.Sessions/SessionIdFactory.cs')
-rw-r--r-- | Libs/VNLib.Plugins.Essentials.Sessions/SessionIdFactory.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Libs/VNLib.Plugins.Essentials.Sessions/SessionIdFactory.cs b/Libs/VNLib.Plugins.Essentials.Sessions/SessionIdFactory.cs index ff0608e..c3ac5bd 100644 --- a/Libs/VNLib.Plugins.Essentials.Sessions/SessionIdFactory.cs +++ b/Libs/VNLib.Plugins.Essentials.Sessions/SessionIdFactory.cs @@ -4,6 +4,7 @@ using System.Diagnostics.CodeAnalysis; using VNLib.Hashing; using VNLib.Net.Http; using VNLib.Plugins.Essentials.Extensions; +using VNLib.Plugins.Essentials.Sessions.Runtime; #nullable enable @@ -33,7 +34,7 @@ namespace VNLib.Plugins.Essentials.Sessions.Memory //return session-id value from cookie value return cookie; } - + public bool TryGetSessionId(IHttpEvent entity, [NotNullWhen(true)] out string? sessionId) { //Get authorization token and make sure its not too large to cause a buffer overflow |