(_request: Request<Body>)
| 26 | } |
| 27 | |
| 28 | async fn http_home(_request: Request<Body>) -> Result<Response<Body>> { |
| 29 | // To send a single string as the response body, use `Responder::respond`. |
| 30 | Ok(Response::new( |
| 31 | "Hello, wasi:http/proxy world!\n".to_owned().into(), |
| 32 | )) |
| 33 | } |
| 34 | |
| 35 | async fn http_wait_response(_request: Request<Body>) -> Result<Response<Body>> { |
| 36 | // Get the time now |