Qt 网络模块如何使用?

1.网络模块介绍

类名说明中文
QAbstractNetworkCacheThe interface for cache implementations缓存实现的接口
QNetworkCacheMetaDataCache information缓存信息
QHstsPolicySpecifies that a host supports HTTP Strict Transport Security policy (HSTS)指定主机支持HTTP严格传输安全策略(HSTS)
QHttpMultiPartResembles a MIME multipart message to be sent over HTTP类似于通过HTTP发送的MIME多部分消息
QHttpPartHolds a body part to be used inside a HTTP multipart MIME message在HTTP多部分MIME消息中保存要使用的身体部分
QNetworkAccessManagerAllows the application to send network requests and receive replies允许应用程序发送网络请求并接收回复
QNetworkCookieHolds ne network cookie保持网络cookie
QNetworkCookieJarImplements a simple jar of QNetworkCookie objects实现一个简单的QNetworkCookie对象
QNetworkDiskCacheVery basic disk cache非常基本的磁盘缓存
QNetworkReplyContains the data and headers for a request sent with QNetworkAccessManager包含使用QNetworkAccessManager发送的请求的数据和标题
QNetworkRequestHolds a request to be sent with QNetworkAccessManager持有使用QNetworkAccessManager发送的请求
QNetworkConfigurationManagerManages the network configurations provided by the system管理系统提供的网络配置
QNetworkConfigurationAbstraction of one or more access point configurations抽象一个或多个接入点配置
QNetworkSessionControl over the system's access points and enables session management for cases when multiple clients access the same access point控制系统的接入点,并为多个客户端访问同一接入点的情况启用会话管理
QAuthenticatorAuthentication object认证对象
QDnsDomainNameRecordStores information about a domain name record存储有关域名记录的信息
QDnsHostAddressRecordStores information about a host address record存储有关主机地址记录的信息
QDnsLookupRepresents a DNS lookup表示DNS查找
QDnsMailExchangeRecordStores information about a DNS MX record存储有关DNS MX记录的信息
QDnsServiceRecordStores information about a DNS SRV record存储有关DNS SRV记录的信息
QDnsTextRecordStores information about a DNS TXT record存储有关DNS TXT记录的信息
QHostAddressIP addressIP地址
QHostInfoStatic functions for host name lookups用于主机名查找的静态函数
QNetworkDatagramThe data and metadata of a UDP datagramUDP数据报的数据和元数据
QNetworkAddressEntryStores one IP address supported by a network interface, along with its associated netmask and broadcast address存储网络接口支持的一个IP地址及其关联的网络掩码和广播地址
QNetworkInterfaceListing of the host's IP addresses and network interfaces列出主机的IP地址和网络接口
QNetworkProxyNetwork layer proxy网络层代理
QNetworkProxyFactoryFine-grained proxy selection细粒度代理选择
QNetworkProxyQueryUsed to query the proxy settings for a socket用于查询套接字的代理设置
QAbstractSocketThe base functionality common to all socket types所有套接字类型通用的基本功能
QLocalServerLocal socket based server本地套接字服务器
QLocalSocketLocal socket本地套接字
QSctpServerSCTP-based server基于SCTP的服务器
QSctpSocketSCTP socketSCTP套接字
QTcpServerTCP-based server基于TCP的服务器
QTcpSocketTCP socketTCP 套接字
QUdpSocketUDP socketUDP 套接字
QSslCertificateConvenient API for an X509 certificate简单的X509证书API
QSslCertificateExtensionAPI for accessing the extensions of an X509 certificate用于访问X509证书扩展名的API
QSslCipherRepresents an SSL cryptographic cipher表示SSL加密密码
QSslConfigurationHolds the configuration and state of an SSL connection保持SSL连接的配置和状态
QSslDiffieHellmanParametersInterface for Diffie-Hellman parameters for servers服务器的Diffie-Hellman参数接口
QSslEllipticCurveRepresents an elliptic curve for use by elliptic-curve cipher algorithms表示椭圆曲线密码算法使用的椭圆曲线
QSslErrorSSL errorSSL错误
QSslKeyInterface for private and public keys私钥和公钥的接口
QSslPreSharedKeyAuthenticatorAuthentication data for pre shared keys (PSK) ciphersuites用于预共享密钥(PSK)密码套件的认证数据
QSslSocketSSL encrypted socket for both clients and servers用于客户端和服务器的SSL加密套接字

转载于:https://www.cnblogs.com/cheungxiongwei/p/7449828.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值