Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module « PySide6.QtWebSockets »

Classe « QWebSocket »

Informations générales

Héritage

builtins.object
    Object
        QObject
            QWebSocket

Définition

class QWebSocket(QObject):

Description [extrait de QWebSocket.__doc__]

QWebSocket(self, origin: str = '', version: PySide6.QtWebSockets.QWebSocketProtocol.Version = PySide6.QtWebSockets.QWebSocketProtocol.Version.VersionLatest, parent: Optional[PySide6.QtCore.QObject] = None) -> None

Constructeur(s)

Signature du constructeur Description
__new__(*args, **kwargs) Create and return a new object. See help(type) for accurate signature. [extrait de __new__.__doc__]
__init__(self, origin: str = '', version: PySide6.QtWebSockets.QWebSocketProtocol.Version = PySide6.QtWebSockets.QWebSocketProtocol.Version.VersionLatest, parent: Optional[PySide6.QtCore.QObject] = None) -> None __init__(self, origin: str = '', version: PySide6.QtWebSockets.QWebSocketProtocol.Version = PySide6.QtWebSockets.QWebSocketProtocol.Version.VersionLatest, parent: Optional[PySide6.QtCore.QObject] = None) -> None [extrait de __init__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
staticMetaObject<PySide6.QtCore.QMetaObject object at 0x7f40cd5a3f40>

Liste des opérateurs

Opérateurs hérités de la classe object

__eq__, __ge__, __gt__, __le__, __lt__, __ne__

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes dépréciées
Signature de la méthodeDescription
__delattr__(self, name) Implement delattr(self, name). [extrait de __delattr__.__doc__]
__setattr__(self, name, value) Implement setattr(self, name, value). [extrait de __setattr__.__doc__]
abort(self) -> None abort(self) -> None [extrait de abort.__doc__]
aboutToClose
alertReceived
alertSent
binaryFrameReceived
binaryMessageReceived
bytesToWrite(self) -> int bytesToWrite(self) -> int [extrait de bytesToWrite.__doc__]
bytesWritten
close(self, closeCode: PySide6.QtWebSockets.QWebSocketProtocol.CloseCode = PySide6.QtWebSockets.QWebSocketProtocol.CloseCode.CloseCodeNormal, reason: str = '') -> None close(self, closeCode: PySide6.QtWebSockets.QWebSocketProtocol.CloseCode = PySide6.QtWebSockets.QWebSocketProtocol.CloseCode.CloseCodeNormal, reason: str = '') -> None [extrait de close.__doc__]
closeCode(self) -> PySide6.QtWebSockets.QWebSocketProtocol.CloseCode closeCode(self) -> PySide6.QtWebSockets.QWebSocketProtocol.CloseCode [extrait de closeCode.__doc__]
closeReason(self) -> str closeReason(self) -> str [extrait de closeReason.__doc__]
connected
continueInterruptedHandshake(self) -> None continueInterruptedHandshake(self) -> None [extrait de continueInterruptedHandshake.__doc__]
destroyed
disconnected
error
error.overload(self) -> PySide6.QtNetwork.QAbstractSocket.SocketError error(self) -> PySide6.QtNetwork.QAbstractSocket.SocketError [extrait de error.__doc__]
errorString(self) -> str errorString(self) -> str [extrait de errorString.__doc__]
flush(self) -> bool flush(self) -> bool [extrait de flush.__doc__]
handshakeInterruptedOnError
isValid(self) -> bool isValid(self) -> bool [extrait de isValid.__doc__]
localAddress(self) -> PySide6.QtNetwork.QHostAddress localAddress(self) -> PySide6.QtNetwork.QHostAddress [extrait de localAddress.__doc__]
localPort(self) -> int localPort(self) -> int [extrait de localPort.__doc__]
maskGenerator(self) -> PySide6.QtWebSockets.QMaskGenerator maskGenerator(self) -> PySide6.QtWebSockets.QMaskGenerator [extrait de maskGenerator.__doc__]
maxAllowedIncomingFrameSize(self) -> int maxAllowedIncomingFrameSize(self) -> int [extrait de maxAllowedIncomingFrameSize.__doc__]
maxAllowedIncomingMessageSize(self) -> int maxAllowedIncomingMessageSize(self) -> int [extrait de maxAllowedIncomingMessageSize.__doc__]
maxIncomingFrameSize() -> int maxIncomingFrameSize() -> int [extrait de maxIncomingFrameSize.__doc__]
maxIncomingMessageSize() -> int maxIncomingMessageSize() -> int [extrait de maxIncomingMessageSize.__doc__]
maxOutgoingFrameSize() -> int maxOutgoingFrameSize() -> int [extrait de maxOutgoingFrameSize.__doc__]
objectNameChanged
open open(self, request: PySide6.QtNetwork.QNetworkRequest) -> None [extrait de open.__doc__]
origin(self) -> str origin(self) -> str [extrait de origin.__doc__]
outgoingFrameSize(self) -> int outgoingFrameSize(self) -> int [extrait de outgoingFrameSize.__doc__]
pauseMode(self) -> PySide6.QtNetwork.QAbstractSocket.PauseModes pauseMode(self) -> PySide6.QtNetwork.QAbstractSocket.PauseModes [extrait de pauseMode.__doc__]
peerAddress(self) -> PySide6.QtNetwork.QHostAddress peerAddress(self) -> PySide6.QtNetwork.QHostAddress [extrait de peerAddress.__doc__]
peerName(self) -> str peerName(self) -> str [extrait de peerName.__doc__]
peerPort(self) -> int peerPort(self) -> int [extrait de peerPort.__doc__]
peerVerifyError
ping(self, payload: Union[PySide6.QtCore.QByteArray, bytes] = Default(QByteArray)) -> None ping(self, payload: Union[PySide6.QtCore.QByteArray, bytes] = Default(QByteArray)) -> None [extrait de ping.__doc__]
pong
preSharedKeyAuthenticationRequired
proxy(self) -> PySide6.QtNetwork.QNetworkProxy proxy(self) -> PySide6.QtNetwork.QNetworkProxy [extrait de proxy.__doc__]
proxyAuthenticationRequired
readBufferSize(self) -> int readBufferSize(self) -> int [extrait de readBufferSize.__doc__]
readChannelFinished
request(self) -> PySide6.QtNetwork.QNetworkRequest request(self) -> PySide6.QtNetwork.QNetworkRequest [extrait de request.__doc__]
requestUrl(self) -> PySide6.QtCore.QUrl requestUrl(self) -> PySide6.QtCore.QUrl [extrait de requestUrl.__doc__]
resourceName(self) -> str resourceName(self) -> str [extrait de resourceName.__doc__]
resume(self) -> None resume(self) -> None [extrait de resume.__doc__]
sendBinaryMessage(self, data: Union[PySide6.QtCore.QByteArray, bytes]) -> int sendBinaryMessage(self, data: Union[PySide6.QtCore.QByteArray, bytes]) -> int [extrait de sendBinaryMessage.__doc__]
sendTextMessage(self, message: str) -> int sendTextMessage(self, message: str) -> int [extrait de sendTextMessage.__doc__]
setMaskGenerator(self, maskGenerator: PySide6.QtWebSockets.QMaskGenerator) -> None setMaskGenerator(self, maskGenerator: PySide6.QtWebSockets.QMaskGenerator) -> None [extrait de setMaskGenerator.__doc__]
setMaxAllowedIncomingFrameSize(self, maxAllowedIncomingFrameSize: int) -> None setMaxAllowedIncomingFrameSize(self, maxAllowedIncomingFrameSize: int) -> None [extrait de setMaxAllowedIncomingFrameSize.__doc__]
setMaxAllowedIncomingMessageSize(self, maxAllowedIncomingMessageSize: int) -> None setMaxAllowedIncomingMessageSize(self, maxAllowedIncomingMessageSize: int) -> None [extrait de setMaxAllowedIncomingMessageSize.__doc__]
setOutgoingFrameSize(self, outgoingFrameSize: int) -> None setOutgoingFrameSize(self, outgoingFrameSize: int) -> None [extrait de setOutgoingFrameSize.__doc__]
setPauseMode(self, pauseMode: PySide6.QtNetwork.QAbstractSocket.PauseModes) -> None setPauseMode(self, pauseMode: PySide6.QtNetwork.QAbstractSocket.PauseModes) -> None [extrait de setPauseMode.__doc__]
setProxy(self, networkProxy: Union[PySide6.QtNetwork.QNetworkProxy, PySide6.QtNetwork.QNetworkProxy.ProxyType]) -> None setProxy(self, networkProxy: Union[PySide6.QtNetwork.QNetworkProxy, PySide6.QtNetwork.QNetworkProxy.ProxyType]) -> None [extrait de setProxy.__doc__]
setReadBufferSize(self, size: int) -> None setReadBufferSize(self, size: int) -> None [extrait de setReadBufferSize.__doc__]
sslErrors
state(self) -> PySide6.QtNetwork.QAbstractSocket.SocketState state(self) -> PySide6.QtNetwork.QAbstractSocket.SocketState [extrait de state.__doc__]
stateChanged
textFrameReceived
textMessageReceived
tr
version(self) -> PySide6.QtWebSockets.QWebSocketProtocol.Version version(self) -> PySide6.QtWebSockets.QWebSocketProtocol.Version [extrait de version.__doc__]

Méthodes héritées de la classe QObject

__getattribute__, __init_subclass__, __repr__, __subclasshook__, blockSignals, childEvent, children, connect, connectNotify, customEvent, deleteLater, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, event, eventFilter, findChild, findChildren, inherits, installEventFilter, isSignalConnected, isWidgetType, isWindowType, killTimer, metaObject, moveToThread, objectName, parent, property, receivers, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent

Méthodes héritées de la classe Object

__getattribute__, __init_subclass__, __subclasshook__

Méthodes héritées de la classe object

__dir__, __format__, __hash__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __str__