simple handle
(req: HttpRequest)
| 11 | |
| 12 | /// simple handle |
| 13 | async fn index(req: HttpRequest) -> Result<HttpResponse, Error> { |
| 14 | println!("{req:?}"); |
| 15 | Ok(HttpResponse::Ok() |
| 16 | .content_type("text/plain") |
| 17 | .body("Hello HTTPS World!")) |
| 18 | } |
| 19 | |
| 20 | #[actix_web::main] |
| 21 | async fn main() -> io::Result<()> { |
nothing calls this directly
no outgoing calls
no test coverage detected