ddblocal/src/AuthenticatedRequest.zig

15 lines
265 B
Zig
Raw Normal View History

2024-01-29 18:27:25 +00:00
const std = @import("std");
allocator: std.mem.Allocator,
event_data: []const u8,
2024-05-15 20:16:24 +00:00
headers: []const std.http.Header,
2024-01-29 18:27:25 +00:00
status: std.http.Status,
reason: ?[]const u8,
account_id: u40,
2024-01-29 18:27:25 +00:00
output_format: OutputFormat,
pub const OutputFormat = enum {
text,
json,
};