PySide6.QtNetwork#
- 枚举
QAbstractNetworkCache
QAbstractSocket
QAuthenticator
QDnsDomainNameRecord
QDnsHostAddressRecord
QDnsLookup
QDnsMailExchangeRecord
QDnsServiceRecord
QDnsTextRecord
QDtls
QDtlsClientVerifier
QHostAddress
QHostAddress.PySide6.QtNetwork.QHostAddress.IPv4Protocol
QHostAddress.PySide6.QtNetwork.QHostAddress.IPv6Protocol
QHostAddress.PySide6.QtNetwork.QHostAddress.AnyIPProtocol
QHostAddress.PySide6.QtNetwork.QHostAddress.UnknownNetworkLayerProtocol
QHostInfo
QHstsPolicy
QHttp2Configuration
QHttpHeaders
QHttpMultiPart
QHttpPart
QIPv6Address
QLocalServer
QLocalSocket
QNetworkAccessManager
QNetworkAddressEntry
QNetworkCacheMetaData
QNetworkCookie
QNetworkCookieJar
QNetworkDatagram
QNetworkDiskCache
QNetworkInformation
QNetworkInterface
QNetworkProxy
QNetworkProxyFactory
QNetworkProxyQuery
QNetworkReply
QNetworkRequest
QNetworkRequestFactory
QOcspResponse
QPasswordDigestor
QRestAccessManager
QRestReply
QSsl
QSslCertificate
QSslCertificateExtension
QSslCipher
QSslConfiguration
QSslConfiguration.PySide6.QtNetwork.QSslConfiguration.ALPNProtocolHTTP2
QSslConfiguration.PySide6.QtNetwork.QSslConfiguration.NextProtocolHttp1_1
QSslDiffieHellmanParameters
QSslEllipticCurve
QSslError
QSslKey
QSslPreSharedKeyAuthenticator
QSslServer
QSslSocket
QTcpServer
QTcpSocket
QUdpSocket
详细说明#
提供网络功能
Qt Network 模块为使用 TCP/IP 的应用程序编程提供了一套 API。请求、cookie 以及通过 HTTP 发送数据等操作由各种 Python 类处理。
使用模块#
要包含模块类的定义,使用以下指令:
import PySide6.QtNetwork
文章和指南#
这些文章包含有关 Qt 网络配置和具有网络功能的应用程序的信息。
Qt 网络编程 - 编写具有网络功能的应用程序
安全套接字层 (SSL) 类 - 用于网络安全套接字通信的类
注意,安装 OpenSSL 可能会导致适用进口和出口限制。
类列表#
A |
|||
D |
|||
H |
|||
I |
|||
L |
|||
N |
|||
O |
|||
P |
|||
R |
|||
S |
|||
T |
|||
U |