From 94ccbc282baf45d0f2e19ab127b38c71668b650f Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Sat, 5 Jul 2025 19:50:13 +0300 Subject: Refactored server connection handling, still missing TOS and auth handling --- terminology.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'terminology.md') diff --git a/terminology.md b/terminology.md index b4332c2..d4cbe91 100644 --- a/terminology.md +++ b/terminology.md @@ -15,3 +15,9 @@ Frequency ID Chat ID - A snowflake ID that refers to either a frequency ID or a receiver ID Signal - A currently open chat between 2 individual users ("DM") + +Session - A struct that helps with managing a single active connection, it contains the addr of the connection and has methods for reading/writing to the connection + +Unauthenticated Session - A session that has not yet been authenticated, so it doesn't have a User ID or public key yet, and has not been added to the server sessions map + +Authenticated Session - A session that is authenticated and attached to a user, it has a UserID and a public key and it has been mapped into the server's session map based on it's user ID. -- cgit v1.3.1