summaryrefslogtreecommitdiff
path: root/src/server/client.zig
blob: 8b49b893722cb0729d1947d9707a126a2782fe09 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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,
};