This class represents the SSL server for nymead. More...
Header: | #include <SslServer> |
Inherits: |
SslServer(bool sslEnabled, const QSslConfiguration & config, QObject * parent = nullptr) |
void | clientConnected(QSslSocket * socket) |
void | clientDisconnected(QSslSocket * socket) |
void | dataAvailable(QSslSocket * socket, const QByteArray & data) |
void | incomingConnection(qintptr socketDescriptor) |
This class represents the SSL server for nymead.
The SSL server allows clients to connect to the JSON-RPC API over an encrypted SSL/TLS connection.
See also WebSocketServer, TransportInterface, and TcpServer.
Constructs a SslServer with the given sslEnabled, config and parent.
[signal]
void SslServer::clientConnected(QSslSocket * socket)This signal is emitted when a new SSL socket connected.
[signal]
void SslServer::clientDisconnected(QSslSocket * socket)This signal is emitted when a socket disconnected.
[signal]
void SslServer::dataAvailable(QSslSocket * socket, const QByteArray & data)This signal is emitted when data from socket is available.
[protected]
void SslServer::incomingConnection(qintptr socketDescriptor)This method will be called if a new socketDescriptor is about to connect to this SslSocket.