QAbstractHttpServer#

Inheritance diagram of PySide6.QtHttpServer.QAbstractHttpServer

Inherited by: QHttpServer

Synopsis#

Functions#

Virtual functions#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

class PySide6.QtHttpServer.QAbstractHttpServer([parent=None])#
Parameters:

parentPySide6.QtCore.QObject

PySide6.QtHttpServer.QAbstractHttpServer.bind([server=None])#
Parameters:

serverPySide6.QtNetwork.QTcpServer

abstract PySide6.QtHttpServer.QAbstractHttpServer.handleRequest(request, responder)#
Parameters:
Return type:

bool

PySide6.QtHttpServer.QAbstractHttpServer.listen([address=QHostAddress.Any[, port=0]])#
Parameters:
Return type:

int

PySide6.QtHttpServer.QAbstractHttpServer.serverPorts()#
Return type:

.list of quint16

PySide6.QtHttpServer.QAbstractHttpServer.servers()#
Return type:

.list of QTcpServer

PySide6.QtHttpServer.QAbstractHttpServer.sslSetup(certificate, privateKey[, protocol=QSsl.SecureProtocols])#
Parameters:
PySide6.QtHttpServer.QAbstractHttpServer.sslSetup(sslConfiguration)
Parameters:

sslConfigurationPySide6.QtNetwork.QSslConfiguration