cleanup, docs

This commit is contained in:
root
2026-06-16 23:02:45 +00:00
parent ea08d5f28b
commit b8b56cf3dd
160 changed files with 1076 additions and 511 deletions
+3 -1
View File
@@ -38,4 +38,6 @@ SERVE_HTTP:admin(Request* req)
The custom server dispatcher uses the same nonblocking HTTP listener machinery as the built-in HTTP/WebSocket path, and hands request/response data through the normal `Request` object. Handler code may block in the first implementation; future worker dispatch can be added without changing this API.
:example
print("server_start_http is resource-bound; configure the service or connection, then call it in request code.\n");
pid_t pid = server_start_http("doc-demo-server", "/tmp/uce/custom-servers/doc-demo.sock", "examples/sample_unit.uce", "RENDER");
print(pid > 0 ? "custom HTTP server started" : "start failed", "\n");
server_stop("doc-demo-server");