| 93 | } |
| 94 | |
| 95 | void handleWebSocketMessage (std::string_view message) override |
| 96 | { |
| 97 | std::cout << "Client ID " << clientID << " received websocket message: " << message << std::endl; |
| 98 | |
| 99 | // for this demo, we'll just bounce back the same message we received, but |
| 100 | // obviously this can be anything.. |
| 101 | sendWebSocketMessage (std::string (message)); |
| 102 | } |
| 103 | |
| 104 | int clientID = 0; |
| 105 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected