#ifndef WS_PROXY_H #define WS_PROXY_H #include #include #include class WSProxy : public QObject { Q_OBJECT public: WSProxy(QObject* parent); public slots: void wsConnected(); private: QWebSocketServer* server; QMap tcp_sockets; QMap web_sockets; }; #endif // WS_PROXY_H