Qt Network C++ Classes

Provides classes to make network programming easier and portable. More...

Namespaces

QPasswordDigestor

Contains functions which you can use to generate hashes or keys

QSsl

Declares enums common to all SSL classes in Qt Network

Classes

QAbstractNetworkCache

The interface for cache implementations

QAbstractSocket

The base functionality common to all socket types

QAuthenticator

Authentication object

QDnsDomainNameRecord

Stores information about a domain name record

QDnsHostAddressRecord

Stores information about a host address record

QDnsLookup

Represents a DNS lookup

QDnsMailExchangeRecord

Stores information about a DNS MX record

QDnsServiceRecord

Stores information about a DNS SRV record

QDnsTextRecord

Stores information about a DNS TXT record

QDtls

This class provides encryption for UDP sockets

QDtlsClientVerifier

This class implements server-side DTLS cookie generation and verification

QDtlsClientVerifier::GeneratorParameters

This class defines parameters for DTLS cookie generator

QHostAddress

IP address

QHostInfo

Static functions for host name lookups

QHstsPolicy

Specifies that a host supports HTTP Strict Transport Security policy (HSTS)

QHttp1Configuration

Controls HTTP/1 parameters and settings

QHttp2Configuration

Controls HTTP/2 parameters and settings

QHttpMultiPart

Resembles a MIME multipart message to be sent over HTTP

QHttpPart

Holds a body part to be used inside a HTTP multipart MIME message

QLocalServer

Local socket based server

QLocalSocket

Local socket

QNetworkAccessManager

Allows the application to send network requests and receive replies

QNetworkAddressEntry

Stores one IP address supported by a network interface, along with its associated netmask and broadcast address

QNetworkCacheMetaData

Cache information

QNetworkCookie

Holds one network cookie

QNetworkCookieJar

Implements a simple jar of QNetworkCookie objects

QNetworkDatagram

The data and metadata of a UDP datagram

QNetworkDiskCache

Very basic disk cache

QNetworkInformation

Exposes various network information through native backends

QNetworkInterface

Listing of the host's IP addresses and network interfaces

QNetworkProxy

Network layer proxy

QNetworkProxyFactory

Fine-grained proxy selection

QNetworkProxyQuery

Used to query the proxy settings for a socket

QNetworkReply

Contains the data and headers for a request sent with QNetworkAccessManager

QNetworkRequest

Holds a request to be sent with QNetworkAccessManager

QOcspResponse

This class represents Online Certificate Status Protocol response

QSctpServer

SCTP-based server

QSctpSocket

SCTP socket

QSslCertificate

Convenient API for an X509 certificate

QSslCertificateExtension

API for accessing the extensions of an X509 certificate

QSslCipher

Represents an SSL cryptographic cipher

QSslConfiguration

Holds the configuration and state of an SSL connection

QSslDiffieHellmanParameters

Interface for Diffie-Hellman parameters for servers

QSslEllipticCurve

Represents an elliptic curve for use by elliptic-curve cipher algorithms

QSslError

SSL error

QSslKey

Interface for private and public keys

QSslPreSharedKeyAuthenticator

Authentication data for pre shared keys (PSK) ciphersuites

QSslServer

Implements an encrypted, secure TCP server over TLS

QSslSocket

SSL encrypted socket for both clients and servers

QTcpServer

TCP-based server

QTcpSocket

TCP socket

QUdpSocket

UDP socket

Detailed Description

The Qt Network page contains information about how to use the module.

© 2023 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.