code wiki / (root) / nx_http_router_test.nx

nx_http_router_test.nx

buildroot/runtime/nx_http_router_test.nx

4621 B118 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind gate/prooftopic http
docsdependenciesstructsconstsfunctions

about

nx_http_router_test.nx -- route dispatch shape verification.

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_tier.nx nx_http_router.nx nx_http_router_test.nx

imports: nx_syscalls.nxnx_tier.nxnx_http_router.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main nx_http_router_alloc sys_mmap nx_http_router_add nx_http_method_is_valid nx_http_router_match _hr_bytes_eq nx_http_method_is_valid ↻ nx_http_router_suffix_offs

structs

none

consts

7const HANDLER_HEALTH: nx_int = 1
8const HANDLER_LIST_CHARS: nx_int = 2
9const HANDLER_GET_CHAR: nx_int = 3
10const HANDLER_BATCH_POST: nx_int = 4
11const HANDLER_OPTIONS: nx_int = 5

functions

13func main() -> nx_int