1
0
Fork 0
mirror of https://github.com/zigzap/zap.git synced 2025-10-20 15:14: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);
}
const ListenError = error{
pub const ListenError = error{
AlreadyListening,
ListenError,
};
const HttpParam = struct {
pub const HttpParam = struct {
key: []const u8,
value: []const u8,
};
const ContentType = enum {
pub const ContentType = enum {
TEXT,
HTML,
JSON,