import core::http; import settings.aspl as app; import handlers.aspl as handlers; fn start_main() -> i64 { let result = http::serve(app::server(true), handlers::routes(), app::Config { upstream: "https://localhost:9443/hello", ca: "server.pem" }, app::State { count: 0 }); if not result::ok { print(result::error::code); return 1; } return 0; }