Network Programming API¶
Classes for Network Programming
The QFormDataPartBuilder class is a convenience class to simplify the construction of QHttpPart objects.
The QFormDataBuilder class is a convenience class to simplify the construction of QHttpMultiPart objects.
The QHstsPolicy class specifies that a host supports HTTP Strict Transport Security policy (HSTS).
The QHttp1Configuration class controls HTTP/1 parameters and settings.
The QHttp2Configuration class controls HTTP/2 parameters and settings.
The QHttpPart class holds a body part to be used inside a HTTP multipart MIME message.
The QHttpMultiPart class resembles a MIME multipart message to be sent over HTTP.
The QNetworkAccessManager class allows the application to send network requests and receive replies.
The QNetworkReply class contains the data and headers for a request sent with QNetworkAccessManager.
The QNetworkRequest class holds a request to be sent with QNetworkAccessManager.
The QRestAccessManager is a convenience wrapper for QNetworkAccessManager.
QRestReply is a convenience wrapper for QNetworkReply.
The QAuthenticator class provides an authentication object.
The QDnsLookup class represents a DNS lookup.
The QDnsDomainNameRecord class stores information about a domain name record.
The QDnsHostAddressRecord class stores information about a host address record.
The QDnsMailExchangeRecord class stores information about a DNS MX record.
The QDnsServiceRecord class stores information about a DNS SRV record.
The QDnsTextRecord class stores information about a DNS TXT record.
The QDnsTlsAssociationRecord class stores information about a DNS TLSA record.
The QHostAddress class provides an IP address.
The QHostInfo class provides static functions for host name lookups.
The QNetworkDatagram class provides the data and metadata of a UDP datagram.
The QNetworkAddressEntry class stores one IP address supported by a network interface, along with its associated netmask and broadcast address.
The QNetworkInterface class provides a listing of the host’s IP addresses and network interfaces.
The QNetworkProxy class provides a network layer proxy.
The QNetworkProxyFactory class provides fine-grained proxy selection.
The QAbstractSocket class provides the base functionality common to all socket types.
PySide6.QtNetwork.QSctpServer
The QSctpServer class provides an SCTP-based server.
PySide6.QtNetwork.QSctpSocket
The QSctpSocket class provides an SCTP socket.
The QTcpServer class provides a TCP-based server.
The QTcpSocket class provides a TCP socket.
The QUdpSocket class provides a UDP socket.
This class implements server-side DTLS cookie generation and verification.
QDtlsClientVerifier.GeneratorParameters
This class defines parameters for DTLS cookie generator.
QDtls.QDtlsError
Describes errors that can be found by QDtls and QDtlsClientVerifier.
This class provides encryption for UDP sockets.
QDtls.HandshakeState
Describes the current state of DTLS handshake.
This class represents Online Certificate Status Protocol response.
QOcspResponse.QOcspCertificateStatus
Describes the Online Certificate Status
QOcspResponse.QOcspRevocationReason
Describes the reason for revocation
The QSsl namespace declares enums common to all SSL classes in Qt Network.
QSsl.AlertLevel
Describes the level of an alert message
QSsl.AlertType
Enumerates possible codes that an alert message can have
QSsl.ImplementedClass
Enumerates classes that a TLS backend implements
QSsl.SupportedFeature
Enumerates possible features that a TLS backend supports
The QSslCertificate class provides a convenient API for an X509 certificate.
The QSslCertificateExtension class provides an API for accessing the extensions of an X509 certificate.
The QSslCipher class represents an SSL cryptographic cipher.
The QSslConfiguration class holds the configuration and state of an SSL connection.
The QSslDiffieHellmanParameters class provides an interface for Diffie-Hellman parameters for servers.
Represents an elliptic curve for use by elliptic-curve cipher algorithms.
The QSslError class provides an SSL error.
The QSslKey class provides an interface for private and public keys.
The QSslPreSharedKeyAuthenticator class provides authentication data for pre shared keys (PSK) ciphersuites.
Implements an encrypted, secure TCP server over TLS.
The QSslSocket class provides an SSL encrypted socket for both clients and servers.