| 7 | } |
| 8 | |
| 9 | void CUserData::removeSession(WebsocketConnection& connection) |
| 10 | { |
| 11 | if(activeWebSockets.removeElement(&connection)) { |
| 12 | connection.setUserData(nullptr); |
| 13 | Serial.println(F("Removed user session")); |
| 14 | } |
| 15 | } |
| 16 | |
| 17 | void CUserData::printMessage(WebsocketConnection& connection, const String& msg) |
| 18 | { |
no test coverage detected