1
0
Fork 0
mirror of https://github.com/zigzap/zap.git synced 2025-10-21 07:34:08 +00:00

Make ContentType, HttpParam, and ListenError public

This commit is contained in:
Quetzal Bradley 2023-02-14 03:27:01 +00:00
parent ae1bfbcba0
commit 4427286969

View file

@ -35,17 +35,17 @@ pub fn start(args: C.fio_start_args) void {
C.fio_start(args); C.fio_start(args);
} }
const ListenError = error{ pub const ListenError = error{
AlreadyListening, AlreadyListening,
ListenError, ListenError,
}; };
const HttpParam = struct { pub const HttpParam = struct {
key: []const u8, key: []const u8,
value: []const u8, value: []const u8,
}; };
const ContentType = enum { pub const ContentType = enum {
TEXT, TEXT,
HTML, HTML,
JSON, JSON,