()
| 13 | mod handler; |
| 14 | |
| 15 | async fn index() -> impl Responder { |
| 16 | NamedFile::open("./static/index.html").unwrap() |
| 17 | } |
| 18 | |
| 19 | /// Handshake and start WebSocket handler with heartbeats. |
| 20 | async fn echo_heartbeat_ws(req: HttpRequest, stream: web::Payload) -> Result<HttpResponse, Error> { |
nothing calls this directly
no outgoing calls
no test coverage detected