hyperion.ng
Public Types | Public Slots | Signals | Public Member Functions | Static Public Attributes | List of all members
QtHttpServer Class Reference
Inheritance diagram for QtHttpServer:

Public Types

typedef void(QSslSocket::* SslErrorSignal) (const QList< QSslError > &)
 

Public Slots

void start (quint16 port=0)
 
void stop (void)
 
void setServerName (const QString &serverName)
 
void setUseSecure (const bool ssl=true)
 
void setPrivateKey (const QSslKey &key)
 
void setCertificates (const QList< QSslCertificate > &certs)
 

Signals

void started (quint16 port)
 
void stopped (void)
 
void error (const QString &msg)
 
void clientConnected (const QString &guid)
 
void clientDisconnected (const QString &guid)
 
void requestNeedsReply (QtHttpRequest *request, QtHttpReply *reply)
 

Public Member Functions

 QtHttpServer (QObject *parent=Q_NULLPTR)
 
const QString & getServerName (void) const
 
quint16 getServerPort (void) const
 
QString getErrorString (void) const
 
bool isListening (void)
 

Static Public Attributes

static const QString & HTTP_VERSION = QStringLiteral ("HTTP/1.1")
 

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