MCPcopy Create free account
hub / github.com/RGAA-Software/GoDesk / PostProtoMessage

Method PostProtoMessage

src/render/plugins/net_ws/ws_plugin.cpp:81–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79 }
80
81 void WsPlugin::PostProtoMessage(std::shared_ptr<Data> msg, bool run_through) {
82 if (IsWorking() && HasConnectedClients() && msg) {
83 plugin_context_->PostWorkTask([=, this]() {
84 ws_server_->PostNetMessage(msg);
85 });
86 }
87 }
88
89 bool WsPlugin::PostTargetStreamProtoMessage(const std::string& stream_id, std::shared_ptr<Data> msg, bool run_through) {
90 if (IsWorking() && HasConnectedClients() && msg) {

Callers 5

PostNetMessageMethod · 0.45
ParseNetMessageMethod · 0.45
SendAnswerSdpToRemoteMethod · 0.45
SendIceToRemoteMethod · 0.45

Calls 2

PostWorkTaskMethod · 0.45
PostNetMessageMethod · 0.45

Tested by

no test coverage detected