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