MythTV  master
Public Member Functions | Public Attributes | List of all members
HttpServerExtension Class Referenceabstract

#include <httpserver.h>

Inheritance diagram for HttpServerExtension:
Inheritance graph
[legend]
Collaboration diagram for HttpServerExtension:
Collaboration graph
[legend]

Public Member Functions

 HttpServerExtension (const QString &sName, const QString &sSharePath)
 
virtual ~HttpServerExtension ()=default
 
virtual bool ProcessRequest (HTTPRequest *pRequest)=0
 
virtual bool ProcessOptions (HTTPRequest *pRequest)
 Handle an OPTIONS request. More...
 
virtual QStringList GetBasePaths ()=0
 
virtual int GetSocketTimeout () const
 

Public Attributes

QString m_sName
 
QString m_sSharePath
 
int m_nSocketTimeout
 
uint m_nSupportedMethods
 

Detailed Description

Definition at line 71 of file httpserver.h.

Constructor & Destructor Documentation

◆ HttpServerExtension()

HttpServerExtension::HttpServerExtension ( const QString &  sName,
const QString &  sSharePath 
)
inline

Definition at line 85 of file httpserver.h.

◆ ~HttpServerExtension()

virtual HttpServerExtension::~HttpServerExtension ( )
virtualdefault

Member Function Documentation

◆ ProcessRequest()

virtual bool HttpServerExtension::ProcessRequest ( HTTPRequest pRequest)
pure virtual

◆ ProcessOptions()

bool HttpServerExtension::ProcessOptions ( HTTPRequest pRequest)
virtual

Handle an OPTIONS request.

Definition at line 52 of file httpserver.cpp.

◆ GetBasePaths()

virtual QStringList HttpServerExtension::GetBasePaths ( )
pure virtual

◆ GetSocketTimeout()

virtual int HttpServerExtension::GetSocketTimeout ( ) const
inlinevirtual

Definition at line 99 of file httpserver.h.

Member Data Documentation

◆ m_sName

QString HttpServerExtension::m_sName

Definition at line 77 of file httpserver.h.

Referenced by HttpServer::RegisterExtension().

◆ m_sSharePath

QString HttpServerExtension::m_sSharePath

◆ m_nSocketTimeout

int HttpServerExtension::m_nSocketTimeout

Definition at line 79 of file httpserver.h.

◆ m_nSupportedMethods

uint HttpServerExtension::m_nSupportedMethods

The documentation for this class was generated from the following files: