QAbstractNetworkCache

The QAbstractNetworkCache class provides the interface for cache implementations. More

Inheritance diagram of PySide6.QtNetwork.QAbstractNetworkCache

Inherited by: QNetworkDiskCache

Detailed Description

QAbstractNetworkCache is the base class for every standard cache that is used by QNetworkAccessManager . QAbstractNetworkCache is an abstract class and cannot be instantiated.

class PySide6.QtNetwork.QAbstractNetworkCache([parent=None])
Parameters

parentPySide6.QtCore.QObject

Constructs an abstract network cache with the given parent.

PySide6.QtNetwork.QAbstractNetworkCache.cacheSize()
Return type

int

PySide6.QtNetwork.QAbstractNetworkCache.clear()
PySide6.QtNetwork.QAbstractNetworkCache.data(url)
Parameters

urlPySide6.QtCore.QUrl

Return type

PySide6.QtCore.QIODevice

PySide6.QtNetwork.QAbstractNetworkCache.insert(device)
Parameters

devicePySide6.QtCore.QIODevice

PySide6.QtNetwork.QAbstractNetworkCache.metaData(url)
Parameters

urlPySide6.QtCore.QUrl

Return type

PySide6.QtNetwork.QNetworkCacheMetaData

PySide6.QtNetwork.QAbstractNetworkCache.prepare(metaData)
Parameters

metaDataPySide6.QtNetwork.QNetworkCacheMetaData

Return type

PySide6.QtCore.QIODevice

PySide6.QtNetwork.QAbstractNetworkCache.remove(url)
Parameters

urlPySide6.QtCore.QUrl

Return type

bool

PySide6.QtNetwork.QAbstractNetworkCache.updateMetaData(metaData)
Parameters

metaDataPySide6.QtNetwork.QNetworkCacheMetaData