This commit is contained in:
2025-11-18 13:49:39 -05:00
parent d6d177aede
commit 51008cd7e1
4 changed files with 201 additions and 101 deletions

18
src/server/client.zig Normal file
View File

@@ -0,0 +1,18 @@
const ClientState = struct {
verbose: bool = false,
pedantic: bool = false,
tls_required: bool = false,
auth_token: ?[]const u8 = null,
user: ?[]const u8 = null,
pass: ?[]const u8 = null,
name: ?[]const u8 = null,
lang: []const u8,
version: []const u8,
protocol: u32,
echo: ?bool = null,
sig: ?[]const u8 = null,
jwt: ?[]const u8 = null,
no_responders: ?bool = null,
headers: ?bool = null,
nkey: ?[]const u8 = null,
};