Http
Lets a server resource answer HTTP requests, for a website, launcher backend or bot. The server listens only if its owner sets KCDS_HTTP_PORT, and KCDS_HTTP_BIND picks the interface, 0.0.0.0 by default. Limits are 1 MiB of body, 10 s to answer, 64 routes per resource, and a request rate per address, with 429 above it. A resource's routes end when it stops. The same listener serves the server's own GET /info.json, /dynamic.json and /players.json first (see Running a server).
http.route()
Http.route(method, path, handler)Serves `<method> /<resource><path>` with a handler that runs as the resource's own code. Returns a function that removes the route.
http.enabled
enabledWhether the server is listening for HTTP, which the server owner decides.