class QAbstractHttpServer#

Inheritance diagram of PySide6.QtHttpServer.QAbstractHttpServer

Inherited by: QHttpServer

Synopsis#

Methods#

Virtual methods#

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#

__init__([parent=None])#
Parameters:

parentQObject

bind(server)#
Parameters:

serverQLocalServer

bind([server=None])
Parameters:

serverQTcpServer

abstract handleRequest(request, responder)#
Parameters:
Return type:

bool

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

int

localServers()#
Return type:

.list of QLocalServer

serverPorts()#
Return type:

.list of quint16

servers()#
Return type:

.list of QTcpServer

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

sslConfigurationQSslConfiguration