#include "server.h"#include "server_p.h"#include <WInterface>#include <QDebug>#include <QLocalServer>#include <QLocalSocket>#include <QStringList>#include <QTcpServer>#include <QTcpSocket>#include <QTimer>Defines | |
| #define | ERR404 "<h1>Path does not exist</h1>\nSorry, the path you requested does not exist.\n" |
| #define | ERR400 "<h1>Invalid Request</h1>\nSorry, the request was invalid.\n" |
Functions | |
| static QString | normalizepath (const QString &p) |
| static bool | pathMatch (QString parent, QString subpath) |
| static bool | qstringlonger (const QString &s1, const QString &s2) |
| static QString | headerVar (QString h) |
| static QRegExp | headerreg ("[A-Za-z0-9-_]+") |
Variables | |
| static int | metaid = qRegisterMetaType<WServerRequest>() |
| #define ERR400 "<h1>Invalid Request</h1>\nSorry, the request was invalid.\n" |
| #define ERR404 "<h1>Path does not exist</h1>\nSorry, the path you requested does not exist.\n" |
| static QRegExp headerreg | ( | "+" | [A-Za-z0-9-_] | ) | [static] |
| static QString headerVar | ( | QString | h | ) | [inline, static] |
| static QString normalizepath | ( | const QString & | p | ) | [inline, static] |
| static bool pathMatch | ( | QString | parent, | |
| QString | subpath | |||
| ) | [inline, static] |
| static bool qstringlonger | ( | const QString & | s1, | |
| const QString & | s2 | |||
| ) | [static] |
int metaid = qRegisterMetaType<WServerRequest>() [static] |
1.7.1