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
+2 -1
View File
@@ -14,4 +14,5 @@ Queues a WebSocket close frame and closes the targeted connection.
If `connection_id` is omitted, the current connection handled by `WS(Request& context)` is closed.
:example
print("ws_close is resource-bound; configure the service or connection, then call it in request code.\n");
bool closed = ws_close("example-connection-id");
print(closed ? "close queued" : "no such connection to close", "\n");