QWebSocketServer¶

PyQt5.QtWebSockets.QWebSocketServer

Inherits from QObject.

Description¶

TODO

Enums¶

SslMode

TODO

Member

Value

Description

NonSecureMode

TODO

TODO

SecureMode

TODO

TODO

Methods¶

__init__(str, SslMode, parent: QObject = None)

TODO


close()

TODO


error() → CloseCode

TODO


errorString() → str

TODO


handleConnection(QTcpSocket)

TODO


handshakeTimeoutMS() → int

TODO


hasPendingConnections() → bool

TODO


isListening() → bool

TODO


listen(address: Union[QHostAddress, SpecialAddress] = QHostAddress.SpecialAddress.Any, port: int = 0) → bool

TODO


maxPendingConnections() → int

TODO


nativeDescriptor() → sip.voidptr

TODO


nextPendingConnection() → QWebSocket

TODO


pauseAccepting()

TODO


proxy() → QNetworkProxy

TODO


resumeAccepting()

TODO


secureMode() → SslMode

TODO


serverAddress() → QHostAddress

TODO


serverName() → str

TODO


serverPort() → int

TODO


serverUrl() → QUrl

TODO


setHandshakeTimeout(int)

TODO


setMaxPendingConnections(int)

TODO


setNativeDescriptor(sip.voidptr) → bool

TODO


setProxy(QNetworkProxy)

TODO


setServerName(str)

TODO


setSocketDescriptor(int) → bool

TODO


setSslConfiguration(QSslConfiguration)

TODO


socketDescriptor() → int

TODO


sslConfiguration() → QSslConfiguration

TODO


supportedVersions() → List[Version]

TODO

Signals¶

acceptError(SocketError)

TODO


closed()

TODO


newConnection()

TODO


originAuthenticationRequired(QWebSocketCorsAuthenticator)

TODO


peerVerifyError(QSslError)

TODO


preSharedKeyAuthenticationRequired(QSslPreSharedKeyAuthenticator)

TODO


serverError(CloseCode)

TODO


sslErrors(Iterable[QSslError])

TODO