Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
Executable
+23
@@ -0,0 +1,23 @@
|
||||
#ifndef SIMPLEWEBSERVER_H
|
||||
#define SIMPLEWEBSERVER_H
|
||||
|
||||
#include <QCoreApplication>
|
||||
#include <QTcpServer>
|
||||
#include <QTcpSocket>
|
||||
#include <QDebug>
|
||||
|
||||
|
||||
class SimpleWebServer : public QTcpServer
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
SimpleWebServer(QObject *parent = nullptr) : QTcpServer(parent) {}
|
||||
|
||||
protected:
|
||||
void incomingConnection(qintptr socketDescriptor) override;
|
||||
private:
|
||||
};
|
||||
|
||||
|
||||
#endif // SIMPLEWEBSERVER_H
|
||||
Reference in new issue
Block a user