()
| 10 | use self::server::{MyWebSocket, WsMessage}; |
| 11 | |
| 12 | async fn index() -> impl Responder { |
| 13 | NamedFile::open("./static/index.html").unwrap() |
| 14 | } |
| 15 | |
| 16 | /// WebSocket handshake and start `MyWebSocket` actor. |
| 17 | async fn echo_ws(req: HttpRequest, stream: web::Payload) -> Result<HttpResponse, Error> { |
nothing calls this directly
no outgoing calls
no test coverage detected