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

Function index

unix-socket/src/main.rs:3–5  ·  view source on GitHub ↗
(_req: HttpRequest)

Source from the content-addressed store, hash-verified

1use actix_web::{App, HttpRequest, HttpServer, middleware, web};
2
3async fn index(_req: HttpRequest) -> &'static str {
4 "Hello world!"
5}
6
7#[actix_web::main]
8#[cfg(unix)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected