| 87 | } |
| 88 | |
| 89 | bool WsPlugin::PostTargetStreamProtoMessage(const std::string& stream_id, std::shared_ptr<Data> msg, bool run_through) { |
| 90 | if (IsWorking() && HasConnectedClients() && msg) { |
| 91 | return ws_server_->PostTargetStreamMessage(stream_id, msg); |
| 92 | } |
| 93 | return false; |
| 94 | } |
| 95 | |
| 96 | bool WsPlugin::PostTargetFileTransferProtoMessage(const std::string& stream_id, std::shared_ptr<Data> msg, bool run_through) { |
| 97 | if (IsWorking() && HasConnectedClients() && msg) { |
no test coverage detected