1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//! HTTP API module for the relay.
//!
//! re-exports the public API from the api/ subdirectory:
//! router.zig — route dispatch, HttpContext
//! xrpc.zig — AT Protocol sync endpoint handlers
//! admin.zig — admin endpoint handlers
//! http.zig — response helpers, query string parsing
const router = @import("router.zig");
pub const HttpContext = router.HttpContext;
pub const handleHttpRequest = router.handleHttpRequest;
test {
@import("std").testing.refAllDecls(@This());
_ = @import("http.zig");
_ = @import("xrpc.zig");
_ = @import("admin.zig");
_ = @import("router.zig");
}