Go to the documentation of this file. 1 #ifndef MYTHHTTPSERVER_H
2 #define MYTHHTTPSERVER_H
21 void AddPaths (
const QStringList& Paths);
46 void NewPaths (
const QStringList& Paths);
64 void Started(
bool Tcp,
bool Ssl);
73 #ifdef USING_LIBDNS_SD
~MythHTTPServer() override
void StaleServices(const HTTPServices &Services)
void HostsChanged(const QStringList &Hosts)
void newTcpConnection(qintptr socket) override
void EnableHTTP(bool Enable)
static bool ReservedPath(const QString &Path)
void RemovePaths(const QStringList &Paths)
void AddErrorPageHandler(const HTTPHandler &Handler)
QString m_masterIPAddress
void AddHandlers(const HTTPHandlers &Handlers)
void NewHandlers(const HTTPHandlers &Handlers)
Add new handlers.
void AddPaths(const QStringList &Paths)
void ServicesChanged(const HTTPServices &Services)
void ResolveMaster(QHostInfo Info)
Add master backend addresses to the allowed Origins list.
void NewServices(const HTTPServices &Services)
void ResolveHost(QHostInfo Info)
Add the results of a reverse lookup to our allowed list.
void ProcessTCPQueueHandler()
void StalePaths(const QStringList &Paths)
void Started(bool Tcp, bool Ssl)
void HostResolved(QHostInfo Info)
QQueue< qintptr > m_connectionQueue
void MasterResolved(QHostInfo Info)
static QStringList BuildAddressList(QHostInfo &Info)
void HandlersChanged(const HTTPHandlers &Handlers)
void NewErrorPageHandler(const HTTPHandler &Handler)
Add new error page handler.
void RemoveHandlers(const HTTPHandlers &Handlers)
void StaleHandlers(const HTTPHandlers &Handlers)
void ErrorHandlerChanged(const HTTPHandler &Handler)
void EnableDisable(bool Enable)
void NewPaths(const QStringList &Paths)
Add new paths that will serve simple files.
void AddServices(const HTTPServices &Services)
std::vector< HTTPService > HTTPServices
void RemoveServices(const HTTPServices &Services)
void PathsChanged(const QStringList &Paths)
std::pair< QString, HTTPFunction > HTTPHandler
void OriginsChanged(const QStringList &Origins)
void BuildOrigins()
Generate a list of allowed 'Origins' for validating CORS requests.
std::vector< HTTPHandler > HTTPHandlers
void Init()
Initialise server configuration.