diff --git a/app/src/websockets/websocketserver.cpp b/app/src/websockets/websocketserver.cpp index 897d8ebdbc30c49591a98cbc06e644d649ca64a8..0330a0bd4627577b79549d28a82fccc19f2ce611 100644 --- a/app/src/websockets/websocketserver.cpp +++ b/app/src/websockets/websocketserver.cpp @@ -133,6 +133,12 @@ void WebSocketServer::callFunction(const QJsonObject &request, QWebSocket *wsCli if (call == "WebSocketServer::stop") { stop(); } + else if (call == "WebSocketServer::isError") { + response["result"] = isError(); + } + else if (call == "WebSocketServer::errorString") { + response["result"] = errorString(); + } else if (call == "WebSocketServer::serverUrl") { response["result"] = serverUrl().toString(); }