1 #ifndef BALL_PYTHON_PYSERVER_H
2 #define BALL_PYTHON_PYSERVER_H
6 #include <QtNetwork/QTcpServer>
25 void processRequest();
35 void processExecuteRequest(QTcpSocket* client,
const QString& request);
44 QByteArray createMessage(QString msg_type, QString content);
51 void disconnectClient(QTcpSocket* client);
53 std::unique_ptr<QTcpServer> server_ {
nullptr};
57 #endif // BALL_PYTHON_PYSERVER_H