| 179 | } |
| 180 | |
| 181 | void WebSocket::start() |
| 182 | { |
| 183 | if (_thread.joinable()) return; // we've already been started |
| 184 | |
| 185 | _thread = std::thread(&WebSocket::run, this); |
| 186 | } |
| 187 | |
| 188 | void WebSocket::stop(uint16_t code, const std::string& reason) |
| 189 | { |
no outgoing calls
no test coverage detected