PythonQt.Qt.QNetworkReply
QNetworkReply
PythonQtInstanceWrapper object
Native bases: PythonQtInstanceWrapper
Supplemental documentation: Qt 5 reference:
Detailed Description
The QNetworkReply class contains the data and meta data related to a request posted with QNetworkAccessManager. Like QNetworkRequest, it contains a URL and headers (both in parsed and raw form), some information about the reply's state and the contents of the reply itself.
QNetworkReply is a sequential-access QIODevice, which means that once data is read from the object, it is no longer kept by the device. It is therefore the application's responsibility to keep this data if it needs to. Whenever more data is received from the network and processed, the readyRead() signal is emitted.
The downloadProgress() signal is also emitted when data is received, but the number of bytes contained in it may not represent the actual bytes received, if any transformation is done to the contents (for example, decompressing and removing the protocol overhead).
Even though QNetworkReply is a QIODevice connected to the contents of the reply, it also emits the uploadProgress() signal, which indicates the progress of the upload for operations that have such content.
Note: Do not delete the object in the slot connected to the errorOccurred() or finished() signal. Use deleteLater().
Source: https://doc.qt.io/archives/qt-5.15/qnetworkreply.html
Complete member index
Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.
| Member | Kind | Signature | Summary |
|---|---|---|---|
Append |
attribute | Any |
(shared captured text) |
AuthenticationRequiredError |
attribute | Any |
(shared captured text) |
BackgroundRequestNotAllowedError |
attribute | Any |
(shared captured text) |
ConnectionRefusedError |
attribute | Any |
(shared captured text) |
ContentAccessDenied |
attribute | Any |
(shared captured text) |
ContentConflictError |
attribute | Any |
(shared captured text) |
ContentGoneError |
attribute | Any |
(shared captured text) |
ContentNotFoundError |
attribute | Any |
(shared captured text) |
ContentOperationNotPermittedError |
attribute | Any |
(shared captured text) |
ContentReSendError |
attribute | Any |
(shared captured text) |
HostNotFoundError |
attribute | Any |
(shared captured text) |
InsecureRedirectError |
attribute | Any |
(shared captured text) |
InternalServerError |
attribute | Any |
(shared captured text) |
NetworkError |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
NetworkSessionFailedError |
attribute | Any |
(shared captured text) |
NoError |
attribute | Any |
(shared captured text) |
NotOpen |
attribute | Any |
(shared captured text) |
OpenMode |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
OpenModeFlag |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
OperationCanceledError |
attribute | Any |
(shared captured text) |
OperationNotImplementedError |
attribute | Any |
(shared captured text) |
ProtocolFailure |
attribute | Any |
(shared captured text) |
ProtocolInvalidOperationError |
attribute | Any |
(shared captured text) |
ProtocolUnknownError |
attribute | Any |
(shared captured text) |
ProxyAuthenticationRequiredError |
attribute | Any |
(shared captured text) |
ProxyConnectionClosedError |
attribute | Any |
(shared captured text) |
ProxyConnectionRefusedError |
attribute | Any |
(shared captured text) |
ProxyNotFoundError |
attribute | Any |
(shared captured text) |
ProxyTimeoutError |
attribute | Any |
(shared captured text) |
ReadOnly |
attribute | Any |
(shared captured text) |
ReadWrite |
attribute | Any |
(shared captured text) |
RemoteHostClosedError |
attribute | Any |
(shared captured text) |
ServiceUnavailableError |
attribute | Any |
(shared captured text) |
SslHandshakeFailedError |
attribute | Any |
(shared captured text) |
TemporaryNetworkFailureError |
attribute | Any |
(shared captured text) |
Text |
attribute | Any |
(shared captured text) |
TimeoutError |
attribute | Any |
(shared captured text) |
TooManyRedirectsError |
attribute | Any |
(shared captured text) |
Truncate |
attribute | Any |
(shared captured text) |
Unbuffered |
attribute | Any |
(shared captured text) |
UnknownContentError |
attribute | Any |
(shared captured text) |
UnknownNetworkError |
attribute | Any |
(shared captured text) |
UnknownProxyError |
attribute | Any |
(shared captured text) |
UnknownServerError |
attribute | Any |
(shared captured text) |
WriteOnly |
attribute | Any |
(shared captured text) |
__init__ |
function | (self, *args: Any, **kwargs: Any) -> None |
Native constructor; consult class documentation for supported overloads. (shared captured text) |
abort |
function | (self) -> None |
Aborts the operation immediately and close down any network connections still open. (shared captured text) |
aboutToClose |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.Qt.QNetworkReply.aboutToClose; argument details are not documented. |
atEnd |
function | (self) -> bool |
X.atEnd() -> bool (shared captured text) |
attribute |
function | (self, code: Any) -> Any |
X.attribute(code) -> object (shared captured text) |
blockSignals |
function | (self, b: Any) -> bool |
X.blockSignals(b) -> bool (shared captured text) |
bytesAvailable |
function | (self) -> int |
X.bytesAvailable() -> int (shared captured text) |
bytesToWrite |
function | (self) -> int |
X.bytesToWrite() -> int (shared captured text) |
bytesWritten |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.Qt.QNetworkReply.bytesWritten; argument details are not documented. |
canReadLine |
function | (self) -> bool |
X.canReadLine() -> bool (shared captured text) |
channelBytesWritten |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.Qt.QNetworkReply.channelBytesWritten; argument details are not documented. |
channelReadyRead |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.Qt.QNetworkReply.channelReadyRead; argument details are not documented. |
childEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
children |
function | (self) -> tuple |
X.children() -> tuple (shared captured text) |
className |
function | (self, *args: Any, **kwargs: Any) -> Any |
Return the classname of the object (shared captured text) |
close |
function | (self) -> None |
Reimplements: [QIODevice::close](https://doc.qt.io/archives/qt-5.15/qiodevice.html#close)(). (shared captured text) |
connect |
function | (self, signal: Any, receiver: Any, slot: Any, type: Any) -> bool |
X.connect(signal, receiver, slot, type) -> bool (shared captured text) |
customEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
delete |
function | (self, *args: Any, **kwargs: Any) -> Any |
Deletes the C++ object (at your own risk, my friend!) (shared captured text) |
deleteLater |
function | (self) -> Any |
(shared captured text) |
destroyed |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.Qt.QNetworkReply.destroyed; argument details are not documented. |
disconnect |
function | (self, signal: Any, receiver: Any, slot: Any) -> bool |
X.disconnect(signal, receiver, slot) -> bool (shared captured text) |
downloadProgress |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.Qt.QNetworkReply.downloadProgress; argument details are not documented. |
dumpObjectInfo |
function | (self) -> Any |
(shared captured text) |
dumpObjectTree |
function | (self) -> Any |
(shared captured text) |
dynamicPropertyNames |
function | (self) -> Any |
(shared captured text) |
encrypted |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.Qt.QNetworkReply.encrypted; argument details are not documented. |
error |
function | (self) -> Any |
Returns the error that was found during the processing of this request. (shared captured text) |
errorOccurred |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.Qt.QNetworkReply.errorOccurred; argument details are not documented. |
errorString |
function | (self) -> str |
X.errorString() -> str (shared captured text) |
event |
function | (self, event: Any) -> bool |
X.event(event) -> bool (shared captured text) |
eventFilter |
function | (self, watched: Any, event: Any) -> bool |
X.eventFilter(watched, event) -> bool (shared captured text) |
findChild |
function | (self, type: Any, name: Any) -> Any |
X.findChild(type, name) -> PythonQt.private.QObject (shared captured text) |
findChildren |
function | (self, type: Any, name: Any) -> tuple |
X.findChildren(type, name) -> tuple (shared captured text) |
finished |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.Qt.QNetworkReply.finished; argument details are not documented. |
getChar |
function | (self, c: Any) -> bool |
X.getChar(c) -> bool (shared captured text) |
hasRawHeader |
function | (self, headerName: Any) -> bool |
X.hasRawHeader(headerName) -> bool (shared captured text) |
header |
function | (self, header: Any) -> Any |
X.header(header) -> object (shared captured text) |
help |
function | (self, *args: Any, **kwargs: Any) -> Any |
Shows the help of available methods for this class (shared captured text) |
ignoreSslErrors |
function | (self) -> None |
If this function is called, SSL errors related to network connection will be ignored, including certificate validation errors. (shared captured text) |
ignoreSslErrorsImplementation |
function | (self, arg__1: Any) -> None |
This virtual method is provided to enable overriding the behavior of [ignoreSslErrors](https://doc.qt.io/archives/qt-5.15/qnetworkreply.html#ignoreSslErrors)(). (shared captured text) |
inherits |
function | (self, *args: Any, **kwargs: Any) -> Any |
Returns if the class inherits or is of given type name (shared captured text) |
installEventFilter |
function | (self, filterObj: Any) -> Any |
(shared captured text) |
isFinished |
function | (self) -> bool |
X.isFinished() -> bool (shared captured text) |
isOpen |
function | (self) -> bool |
X.isOpen() -> bool (shared captured text) |
isReadable |
function | (self) -> bool |
X.isReadable() -> bool (shared captured text) |
isRunning |
function | (self) -> bool |
X.isRunning() -> bool (shared captured text) |
isSequential |
function | (self) -> bool |
X.isSequential() -> bool (shared captured text) |
isSignalConnected |
function | (self, signal: Any) -> bool |
X.isSignalConnected(signal) -> bool (shared captured text) |
isTextModeEnabled |
function | (self) -> bool |
X.isTextModeEnabled() -> bool (shared captured text) |
isWidgetType |
function | (self) -> bool |
X.isWidgetType() -> bool (shared captured text) |
isWindowType |
function | (self) -> bool |
X.isWindowType() -> bool (shared captured text) |
isWritable |
function | (self) -> bool |
X.isWritable() -> bool (shared captured text) |
killTimer |
function | (self, id: Any) -> Any |
(shared captured text) |
manager |
function | (self) -> Any |
X.manager() -> PythonQt.QtNetwork.QNetworkAccessManager (shared captured text) |
metaDataChanged |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.Qt.QNetworkReply.metaDataChanged; argument details are not documented. |
metaObject |
function | (self) -> Any |
X.metaObject() -> PythonQt.QtCore.QMetaObject (shared captured text) |
moveToThread |
function | (self, thread: Any) -> Any |
(shared captured text) |
objectName |
attribute | Any |
(shared captured text) |
objectNameChanged |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.Qt.QNetworkReply.objectNameChanged; argument details are not documented. |
open |
function | (self, mode: Any) -> bool |
X.open(mode) -> bool (shared captured text) |
openMode |
function | (self) -> Any |
(shared captured text) |
operation |
function | (self) -> Any |
Returns the operation that was posted for this reply. (shared captured text) |
parent |
function | (self) -> Any |
X.parent() -> PythonQt.private.QObject (shared captured text) |
peek |
function | (self, maxlen: Any) -> Any |
X.peek(maxlen) -> PythonQt.QtCore.QByteArray (shared captured text) |
pos |
function | (self) -> int |
X.pos() -> int (shared captured text) |
preSharedKeyAuthenticationRequired |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.Qt.QNetworkReply.preSharedKeyAuthenticationRequired; argument details are not documented. |
property |
function | (self, name: Any) -> Any |
X.property(name) -> object (shared captured text) |
putChar |
function | (self, c: Any) -> bool |
X.putChar(c) -> bool (shared captured text) |
rawHeader |
function | (self, headerName: Any) -> Any |
X.rawHeader(headerName) -> PythonQt.QtCore.QByteArray (shared captured text) |
rawHeaderList |
function | (self) -> Any |
Returns a list of headers fields that were sent by the remote server, in the order that they were sent. (shared captured text) |
rawHeaderPairs |
function | (self) -> tuple |
X.rawHeaderPairs() -> tuple (shared captured text) |
read |
function | (self, maxlen: Any) -> Any |
X.read(maxlen) -> PythonQt.QtCore.QByteArray (shared captured text) |
readAll |
function | (self) -> Any |
X.readAll() -> PythonQt.QtCore.QByteArray (shared captured text) |
readBufferSize |
function | (self) -> int |
X.readBufferSize() -> int (shared captured text) |
readChannelFinished |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.Qt.QNetworkReply.readChannelFinished; argument details are not documented. |
readData |
function | (self, data: Any, maxlen: Any) -> int |
X.readData(data, maxlen) -> int (shared captured text) |
readLine |
function | (self, maxlen: Any) -> Any |
X.readLine(maxlen) -> PythonQt.QtCore.QByteArray (shared captured text) |
readLineData |
function | (self, data: Any, maxlen: Any) -> int |
X.readLineData(data, maxlen) -> int (shared captured text) |
readyRead |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.Qt.QNetworkReply.readyRead; argument details are not documented. |
redirectAllowed |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.Qt.QNetworkReply.redirectAllowed; argument details are not documented. |
redirected |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.Qt.QNetworkReply.redirected; argument details are not documented. |
removeEventFilter |
function | (self, obj: Any) -> Any |
(shared captured text) |
request |
function | (self) -> Any |
X.request() -> PythonQt.QtNetwork.QNetworkRequest (shared captured text) |
reset |
function | (self) -> bool |
X.reset() -> bool (shared captured text) |
seek |
function | (self, pos: Any) -> bool |
X.seek(pos) -> bool (shared captured text) |
sender |
function | (self) -> Any |
X.sender() -> PythonQt.private.QObject (shared captured text) |
senderSignalIndex |
function | (self) -> int |
X.senderSignalIndex() -> int (shared captured text) |
setAttribute |
function | (self, code: Any, value: Any) -> None |
X.setAttribute(code, value) (shared captured text) |
setError |
function | (self, errorCode: Any, errorString: str) -> None |
X.setError(errorCode, errorString) (shared captured text) |
setErrorString |
function | (self, errorString: Any) -> Any |
(shared captured text) |
setFinished |
function | (self, arg__1: bool) -> None |
Sets the reply as finished. (shared captured text) |
setHeader |
function | (self, header: Any, value: Any) -> None |
X.setHeader(header, value) (shared captured text) |
setObjectName |
function | (self, name: Any) -> Any |
(shared captured text) |
setOpenMode |
function | (self, openMode: Any) -> Any |
(shared captured text) |
setOperation |
function | (self, operation: Any) -> None |
Sets the associated operation for this object to be operation. (shared captured text) |
setParent |
function | (self, parent: Any) -> Any |
(shared captured text) |
setProperty |
function | (self, name: Any, value: Any) -> bool |
X.setProperty(name, value) -> bool (shared captured text) |
setRawHeader |
function | (self, headerName: Any, value: Any) -> None |
X.setRawHeader(headerName, value) (shared captured text) |
setReadBufferSize |
function | (self, size: int) -> None |
Sets the size of the read buffer to be size bytes. (shared captured text) |
setRequest |
function | (self, request: Any) -> None |
Sets the associated request for this object to be request. (shared captured text) |
setSslConfigurationImplementation |
function | (self, arg__1: Any) -> None |
This virtual method is provided to enable overriding the behavior of [setSslConfiguration](https://doc.qt.io/archives/qt-5.15/qnetworkreply.html#setSslConfiguration)(). (shared captured text) |
setTextModeEnabled |
function | (self, enabled: Any) -> Any |
(shared captured text) |
setUrl |
function | (self, url: Any) -> None |
Sets the URL being processed to be url. (shared captured text) |
signalsBlocked |
function | (self) -> bool |
X.signalsBlocked() -> bool (shared captured text) |
size |
function | (self) -> int |
X.size() -> int (shared captured text) |
sslConfigurationImplementation |
function | (self, arg__1: Any) -> None |
This virtual method is provided to enable overriding the behavior of [sslConfiguration](https://doc.qt.io/archives/qt-5.15/qnetworkreply.html#sslConfiguration)(). (shared captured text) |
sslErrors |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.Qt.QNetworkReply.sslErrors; argument details are not documented. |
startTimer |
function | (self, interval: Any, timerType: Any) -> int |
X.startTimer(interval, timerType) -> int (shared captured text) |
thread |
function | (self) -> Any |
(shared captured text) |
timerEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
tr |
function | (self, text: Any, ambig: Any, n: Any) -> str |
X.tr(text, ambig, n) -> str (shared captured text) |
ungetChar |
function | (self, c: Any) -> Any |
(shared captured text) |
uploadProgress |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.Qt.QNetworkReply.uploadProgress; argument details are not documented. |
url |
function | (self) -> Any |
X.url() -> PythonQt.QtCore.QUrl (shared captured text) |
waitForBytesWritten |
function | (self, msecs: Any) -> bool |
X.waitForBytesWritten(msecs) -> bool (shared captured text) |
waitForReadyRead |
function | (self, msecs: Any) -> bool |
X.waitForReadyRead(msecs) -> bool (shared captured text) |
write |
function | (self, data: Any) -> int |
X.write(data) -> int (shared captured text) |
writeData |
function | (self, data: str, len: int) -> int |
X.writeData(data, len) -> int (shared captured text) |