27 lines
683 B
Zig
27 lines
683 B
Zig
const std = @import("std");
|
|
const ciutf8 = @import("util").ciutf8;
|
|
|
|
const request = @import("./request.zig");
|
|
|
|
const server = @import("./server.zig");
|
|
|
|
pub const socket = @import("./socket.zig");
|
|
|
|
pub const Method = std.http.Method;
|
|
pub const Status = std.http.Status;
|
|
|
|
pub const Request = request.Request(server.Stream.Reader);
|
|
pub const Response = server.Response;
|
|
pub const Handler = server.Handler;
|
|
pub const Server = server.Server;
|
|
|
|
pub const middleware = @import("./middleware.zig");
|
|
pub const queryStringify = @import("./query.zig").queryStringify;
|
|
|
|
pub const Fields = @import("./headers.zig").Fields;
|
|
|
|
pub const Protocol = enum {
|
|
http_1_0,
|
|
http_1_1,
|
|
http_1_x,
|
|
};
|