| 75 | } |
| 76 | |
| 77 | bool WsPlugin::IsWorking() { |
| 78 | return ws_server_ && ws_server_->IsWorking(); |
| 79 | } |
| 80 | |
| 81 | void WsPlugin::PostProtoMessage(std::shared_ptr<Data> msg, bool run_through) { |
| 82 | if (IsWorking() && HasConnectedClients() && msg) { |
no outgoing calls
no test coverage detected