QWebSocket露
- PyQt5.QtWebSockets.QWebSocket
Inherits from QObject.
Description露
TODO
Methods露
- __init__(origin: str = '', version: Version = VersionLatest, parent: QObject = None)
TODO
- abort()
TODO
- bytesToWrite() → int
TODO
- close(closeCode: CloseCode = CloseCodeNormal, reason: str = '')
TODO
- closeCode() → CloseCode
TODO
- closeReason() → str
TODO
- error() → SocketError
TODO
- errorString() → str
TODO
- flush() → bool
TODO
- ignoreSslErrors()
TODO
- ignoreSslErrors(Iterable[QSslError])
TODO
- isValid() → bool
TODO
- localAddress() → QHostAddress
TODO
- localPort() → int
TODO
- maskGenerator() → QMaskGenerator
TODO
- open(QUrl)
TODO
- open(QNetworkRequest)
TODO
- origin() → str
TODO
- pauseMode() → PauseModes
TODO
- peerAddress() → QHostAddress
TODO
- peerName() → str
TODO
- peerPort() → int
TODO
- ping(payload: Union[QByteArray, bytes, bytearray] = QByteArray())
TODO
- proxy() → QNetworkProxy
TODO
- readBufferSize() → int
TODO
- request() → QNetworkRequest
TODO
- requestUrl() → QUrl
TODO
- resourceName() → str
TODO
- resume()
TODO
- sendBinaryMessage(Union[QByteArray, bytes, bytearray]) → int
TODO
- sendTextMessage(str) → int
TODO
- setMaskGenerator(QMaskGenerator)
TODO
- setPauseMode(Union[PauseModes, PauseMode])
TODO
- setProxy(QNetworkProxy)
TODO
- setReadBufferSize(int)
TODO
- setSslConfiguration(QSslConfiguration)
TODO
- sslConfiguration() → QSslConfiguration
TODO
- state() → SocketState
TODO
- version() → Version
TODO
Signals露
- aboutToClose()
TODO
- binaryFrameReceived(Union[QByteArray, bytes, bytearray], bool)
TODO
- binaryMessageReceived(Union[QByteArray, bytes, bytearray])
TODO
- bytesWritten(int)
TODO
- connected()
TODO
- disconnected()
TODO
- error()
TODO
- error(SocketError)
TODO
- pong(int, Union[QByteArray, bytes, bytearray])
TODO
TODO
- proxyAuthenticationRequired(QNetworkProxy, QAuthenticator)
TODO
- readChannelFinished()
TODO
- sslErrors(Iterable[QSslError])
TODO
- stateChanged(SocketState)
TODO
- textFrameReceived(str, bool)
TODO
- textMessageReceived(str)
TODO