cleanup, docs
This commit is contained in:
@@ -19,4 +19,5 @@ server_stop("site-tests-http");
|
||||
`server_stop()` currently targets custom servers started through `server_start_http()`. The same key model is intended to extend to future `server_start_tcp()` and `server_start_udp()` helpers.
|
||||
|
||||
:example
|
||||
print("server_stop is resource-bound; configure the service or connection, then call it in request code.\n");
|
||||
server_start_http("doc-demo-stop", "/tmp/uce/custom-servers/doc-stop.sock", "examples/sample_unit.uce", "RENDER");
|
||||
print(server_stop("doc-demo-stop") ? "server stopped" : "no such server", "\n");
|
||||
|
||||
Reference in New Issue
Block a user