Start an HTTP file server via RPC
mangoro_http_start(
sock,
addr,
dir = ".",
prefix = "/",
cors = FALSE,
coop = FALSE,
tls = FALSE,
cert = NULL,
key = NULL,
silent = FALSE
)List with status and message
A nanonext socket connected to the HTTP server controller
Address to bind server to (e.g., "127.0.0.1:8080")
Directory to serve (default: current directory)
URL prefix for the server (default: "/")
Enable CORS headers (default: FALSE)
Enable Cross-Origin-Opener-Policy (default: FALSE)
Enable TLS (default: FALSE)
Path to TLS certificate file (required if tls = TRUE)
Path to TLS key file (required if tls = TRUE)
Suppress server logs (default: FALSE)