Qt網絡模塊如何使用(表格)


1.網絡模塊介紹

類名 說明 中文
QAbstractNetworkCache The interface for cache implementations 緩存實現的接口
QNetworkCacheMetaData Cache information 緩存信息
QHstsPolicy Specifies that a host supports HTTP Strict Transport Security policy (HSTS) 指定主機支持HTTP嚴格傳輸安全策略(HSTS)
QHttpMultiPart Resembles a MIME multipart message to be sent over HTTP 類似於通過HTTP發送的MIME多部分消息
QHttpPart Holds a body part to be used inside a HTTP multipart MIME message 在HTTP多部分MIME消息中保存要使用的身體部分
QNetworkAccessManager Allows the application to send network requests and receive replies 允許應用程序發送網絡請求並接收回復
QNetworkCookie Holds ne network cookie 保持網絡cookie
QNetworkCookieJar Implements a simple jar of QNetworkCookie objects 實現一個簡單的QNetworkCookie對象
QNetworkDiskCache Very basic disk cache 非常基本的磁盤緩存
QNetworkReply Contains the data and headers for a request sent with QNetworkAccessManager 包含使用QNetworkAccessManager發送的請求的數據和標題
QNetworkRequest Holds a request to be sent with QNetworkAccessManager 持有使用QNetworkAccessManager發送的請求
QNetworkConfigurationManager Manages the network configurations provided by the system 管理系統提供的網絡配置
QNetworkConfiguration Abstraction of one or more access point configurations 抽象一個或多個接入點配置
QNetworkSession Control over the system's access points and enables session management for cases when multiple clients access the same access point 控制系統的接入點,並為多個客戶端訪問同一接入點的情況啟用會話管理
QAuthenticator Authentication object 認證對象
QDnsDomainNameRecord Stores information about a domain name record 存儲有關域名記錄的信息
QDnsHostAddressRecord Stores information about a host address record 存儲有關主機地址記錄的信息
QDnsLookup Represents a DNS lookup 表示DNS查找
QDnsMailExchangeRecord Stores information about a DNS MX record 存儲有關DNS MX記錄的信息
QDnsServiceRecord Stores information about a DNS SRV record 存儲有關DNS SRV記錄的信息
QDnsTextRecord Stores information about a DNS TXT record 存儲有關DNS TXT記錄的信息
QHostAddress IP address IP地址
QHostInfo Static functions for host name lookups 用於主機名查找的靜態函數
QNetworkDatagram The data and metadata of a UDP datagram UDP數據報的數據和元數據
QNetworkAddressEntry Stores one IP address supported by a network interface, along with its associated netmask and broadcast address 存儲網絡接口支持的一個IP地址及其關聯的網絡掩碼和廣播地址
QNetworkInterface Listing of the host's IP addresses and network interfaces 列出主機的IP地址和網絡接口
QNetworkProxy Network layer proxy 網絡層代理
QNetworkProxyFactory Fine-grained proxy selection 細粒度代理選擇
QNetworkProxyQuery Used to query the proxy settings for a socket 用於查詢套接字的代理設置
QAbstractSocket The base functionality common to all socket types 所有套接字類型通用的基本功能
QLocalServer Local socket based server 本地套接字服務器
QLocalSocket Local socket 本地套接字
QSctpServer SCTP-based server 基於SCTP的服務器
QSctpSocket SCTP socket SCTP套接字
QTcpServer TCP-based server 基於TCP的服務器
QTcpSocket TCP socket TCP 套接字
QUdpSocket UDP socket UDP 套接字
QSslCertificate Convenient API for an X509 certificate 簡單的X509證書API
QSslCertificateExtension API for accessing the extensions of an X509 certificate 用於訪問X509證書擴展名的API
QSslCipher Represents an SSL cryptographic cipher 表示SSL加密密碼
QSslConfiguration Holds the configuration and state of an SSL connection 保持SSL連接的配置和狀態
QSslDiffieHellmanParameters Interface for Diffie-Hellman parameters for servers 服務器的Diffie-Hellman參數接口
QSslEllipticCurve Represents an elliptic curve for use by elliptic-curve cipher algorithms 表示橢圓曲線密碼算法使用的橢圓曲線
QSslError SSL error SSL錯誤
QSslKey Interface for private and public keys 私鑰和公鑰的接口
QSslPreSharedKeyAuthenticator Authentication data for pre shared keys (PSK) ciphersuites 用於預共享密鑰(PSK)密碼套件的認證數據
QSslSocket SSL encrypted socket for both clients and servers 用於客戶端和服務器的SSL加密套接字


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM