From 32e4b04c87a31b288de398422ee7bed6baa9b9f8 Mon Sep 17 00:00:00 2001 From: Lars Simon Winzer Date: Wed, 11 Mar 2026 11:43:27 +0100 Subject: [PATCH] Add: SessionId to identify each session --- documents/docs/networking/server-architecture.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/documents/docs/networking/server-architecture.md b/documents/docs/networking/server-architecture.md index 93ad908..1be14eb 100644 --- a/documents/docs/networking/server-architecture.md +++ b/documents/docs/networking/server-architecture.md @@ -36,6 +36,9 @@ Once a client connects, it creates a `Session` adds it to the `SessionManager` a ### `Session` Every client that connects has its own `Session` instance running on its own thread. This component owns the lifecycle of that connection: it reads incoming data, passes it along for processing, and writes responses back. +### `SessionId` +The `SessionId` is used to uniquely identify each session. Essentially its a wrapper arround the UUID type. + ### `SessionManager` The `SessionManager` stores all currently active sessions. It allows for the retrieval of a specific session by its id.