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

Method PostNetMessage

src/render/network/ws_panel_client.cpp:125–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123 }
124
125 void WsPanelClient::PostNetMessage(std::shared_ptr<Data> msg) {
126 if (client_ && client_->is_started()) {
127 if (queuing_message_count_ > kMaxClientQueuedMessage) {
128 return;
129 }
130 queuing_message_count_++;
131 client_->async_send(msg->CStr(), msg->Size(), [=, this]() {
132 queuing_message_count_--;
133 });
134 }
135 }
136
137 void WsPanelClient::ParseNetMessage(std::string_view _msg) {
138 try {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected