blob: 7c0ca4e8ee3bbc2907a219f8db94d4be359a4740 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
const std = @import("std");
const Storage = @import("../storage/root.zig");
const Self = @This();
allocator: std.mem.Allocator,
request: *std.http.Server.Request,
storage: *Storage,
fingerprint: []const u8,
user: ?[]const u8 = null,
response: struct {
headers: struct {
content_type: []const u8 = "application/json",
fingerprint: ?[]const u8 = null,
} = .{},
} = .{},
|