MCPcopy Create free account
hub / github.com/actix/examples / index

Function index

https-tls/acme-letsencrypt/src/main.rs:134–136  ·  view source on GitHub ↗

"Hello world" example

(_req: HttpRequest)

Source from the content-addressed store, hash-verified

132
133// "Hello world" example
134async fn index(_req: HttpRequest) -> impl Responder {
135 "Hello world!"
136}
137
138#[actix_web::main]
139async fn main() -> eyre::Result<()> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected