code wiki / (root) / nx_http_health.nx

nx_http_health.nx

buildroot/runtime/nx_http_health.nx

1751 B31 linesdepth 5pulls 5 transitivereach 0 importersview sourcekind tooltopic http
docsdependenciesstructsconstsfunctions

about

nx_http_health.nx -- probe a live URL for REAL: HTTP 200 + a real body (+ optional expected content), via an actual sovereign HTTPS GET. This is the honest answer the port-bind/exit-0/gate-log checks couldn't give. argv[1]=url argv[2]=expect_token(optional). exit 0 = healthy (page loaded), 1 = UNHEALTHY. license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_http_health_lib.nx nx_http_health.nx

imports: nx_http_health_lib.nx

imported by: nobody (leaf or entry point)

structs

none

consts

5const K_MAGIC_16384: i64 = 16384
6const K_MAGIC_16380: i64 = 16380
7const K_MAGIC_262144: i64 = 262144
8const K_MAGIC_262140: i64 = 262140

functions

10func main(argc: i64, argv: *i64) -> i64