(&mut self, _: Handshake)
| 17 | } |
| 18 | impl Handler for Server { |
| 19 | fn on_open(&mut self, _: Handshake) -> Result<()> { |
| 20 | println!("Opened a connetion"); |
| 21 | self.out.timeout(15_000, CLIENT_UNRESPONSIVE)?; |
| 22 | self.out.timeout(5_000, PING) |
| 23 | } |
| 24 | |
| 25 | fn on_timeout(&mut self, event: Token) -> Result<()> { |
| 26 | println!("event: {:?}", event); |
nothing calls this directly
no outgoing calls
no test coverage detected