MCPcopy Create free account
hub / github.com/MiniZinc/MiniZincIDE / broadcastMessage

Method broadcastMessage

MiniZincIDE/server.cpp:86–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86void VisConnector::broadcastMessage(const QJsonDocument& message)
87{
88 auto json = QString::fromUtf8(message.toJson());
89 for (auto* client : _clients) {
90 client->sendTextMessage(json);
91 }
92}
93
94void VisConnector::webSocketMessageReceived(const QString& message)
95{

Callers

nothing calls this directly

Calls 1

toJsonMethod · 0.80

Tested by

no test coverage detected