Native Runtime

The native runtime is the default production-facing path.


alef run main.alef

It supports:

Server Options


std.http.listen_options("127.0.0.1:8097", app(), {
    "timeout_ms" => 30000,
    "max_body_bytes" => 4096,
    "metrics_path" => "/__metrics",
    "shutdown_path" => "/__shutdown"
})

Use shutdown_path in examples so smoke tests can stop the server cleanly.