Network Programming API#

Classes for Network Programming

PySide6.QtNetwork.QHstsPolicy

The QHstsPolicy class specifies that a host supports HTTP Strict Transport Security policy (HSTS).

QHttp1Configuration

The QHttp1Configuration class controls HTTP/1 parameters and settings.

PySide6.QtNetwork.QHttp2Configuration

The QHttp2Configuration class controls HTTP/2 parameters and settings.

PySide6.QtNetwork.QHttpPart

The QHttpPart class holds a body part to be used inside a HTTP multipart MIME message.

PySide6.QtNetwork.QHttpMultiPart

The QHttpMultiPart class resembles a MIME multipart message to be sent over HTTP.

PySide6.QtNetwork.QNetworkAccessManager

The QNetworkAccessManager class allows the application to send network requests and receive replies.

PySide6.QtNetwork.QNetworkReply

The QNetworkReply class contains the data and headers for a request sent with QNetworkAccessManager.

PySide6.QtNetwork.QNetworkRequest

The QNetworkRequest class holds a request to be sent with QNetworkAccessManager.

PySide6.QtNetwork.QAuthenticator

The QAuthenticator class provides an authentication object.

PySide6.QtNetwork.QDnsLookup

The QDnsLookup class represents a DNS lookup.

PySide6.QtNetwork.QDnsDomainNameRecord

The QDnsDomainNameRecord class stores information about a domain name record.

PySide6.QtNetwork.QDnsHostAddressRecord

The QDnsHostAddressRecord class stores information about a host address record.

PySide6.QtNetwork.QDnsMailExchangeRecord

The QDnsMailExchangeRecord class stores information about a DNS MX record.

PySide6.QtNetwork.QDnsServiceRecord

The QDnsServiceRecord class stores information about a DNS SRV record.

PySide6.QtNetwork.QDnsTextRecord

The QDnsTextRecord class stores information about a DNS TXT record.

PySide6.QtNetwork.QHostAddress

The QHostAddress class provides an IP address.

PySide6.QtNetwork.QHostInfo

The QHostInfo class provides static functions for host name lookups.

PySide6.QtNetwork.QNetworkDatagram

The QNetworkDatagram class provides the data and metadata of a UDP datagram.

PySide6.QtNetwork.QNetworkAddressEntry

The QNetworkAddressEntry class stores one IP address supported by a network interface, along with its associated netmask and broadcast address.

PySide6.QtNetwork.QNetworkInterface

The QNetworkInterface class provides a listing of the host’s IP addresses and network interfaces.

PySide6.QtNetwork.QNetworkProxy

The QNetworkProxy class provides a network layer proxy.

PySide6.QtNetwork.QNetworkProxyFactory

The QNetworkProxyFactory class provides fine-grained proxy selection.

PySide6.QtNetwork.QAbstractSocket

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.

PySide6.QtNetwork.QTcpServer

The QTcpServer class provides a TCP-based server.

PySide6.QtNetwork.QTcpSocket

The QTcpSocket class provides a TCP socket.

PySide6.QtNetwork.QUdpSocket

The QUdpSocket class provides a UDP socket.

PySide6.QtNetwork.QDtlsClientVerifier

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.

PySide6.QtNetwork.QDtls

This class provides encryption for UDP sockets.

QDtls.HandshakeState

Describes the current state of DTLS handshake.

PySide6.QtNetwork.QOcspResponse

This class represents Online Certificate Status Protocol response.

QOcspResponse.QOcspCertificateStatus

Describes the Online Certificate Status

QOcspResponse.QOcspRevocationReason

Describes the reason for revocation

qssl.html

The QSsl namespace declares enums common to all SSL classes in Qt Network.

QSslSocket.AlertLevel

Describes the level of an alert message

QSslSocket.AlertType

Enumerates possible codes that an alert message can have

QSslSocket.ImplementedClass

Enumerates classes that a TLS backend implements

QSslSocket.SupportedFeature

Enumerates possible features that a TLS backend supports

PySide6.QtNetwork.QSslCertificate

The QSslCertificate class provides a convenient API for an X509 certificate.

PySide6.QtNetwork.QSslCertificateExtension

The QSslCertificateExtension class provides an API for accessing the extensions of an X509 certificate.

PySide6.QtNetwork.QSslCipher

The QSslCipher class represents an SSL cryptographic cipher.

PySide6.QtNetwork.QSslConfiguration

The QSslConfiguration class holds the configuration and state of an SSL connection.

PySide6.QtNetwork.QSslDiffieHellmanParameters

The QSslDiffieHellmanParameters class provides an interface for Diffie-Hellman parameters for servers.

PySide6.QtNetwork.QSslEllipticCurve

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

PySide6.QtNetwork.QSslError

The QSslError class provides an SSL error.

PySide6.QtNetwork.QSslKey

The QSslKey class provides an interface for private and public keys.

PySide6.QtNetwork.QSslPreSharedKeyAuthenticator

The QSslPreSharedKeyAuthenticator class provides authentication data for pre shared keys (PSK) ciphersuites.

PySide6.QtNetwork.QSslServer

Implements an encrypted, secure TCP server over TLS.

PySide6.QtNetwork.QSslSocket

The QSslSocket class provides an SSL encrypted socket for both clients and servers.