![]() |
NDEVR
API Documentation
|
A request for data or information from a network. More...
Public Member Functions | |
| virtual void | abort ()=0 |
| Aborts the network request immediately. | |
| virtual void | close ()=0 |
| Closes the network request and releases resources. | |
| virtual QByteArray | data ()=0 |
| Returns the data received from the network request. | |
| void | downloadProgressSignal (qint64 bytesReceived, qint64 bytesTotal) |
| Emitted to report download progress. | |
| void | errorOccurredSignal (StringView error) |
| Emitted when an error occurs, with a description. | |
| void | finishedSignal () |
| Emitted when the request has finished. | |
| virtual bool | isRunning ()=0 |
| Returns whether the request is currently in progress. | |
| void | metaDataChangedSignal () |
| Emitted when response metadata changes. | |
| void | redirectAllowedSignal () |
| Emitted when a redirect is allowed. | |
| void | requestSentSignal () |
| Emitted when the request has been sent. | |
| void | socketStartedConnectingSignal () |
| Emitted when the socket begins connecting. | |
| virtual bool | start ()=0 |
| Starts the network request. | |
| void | uploadProgressSignal (qint64 bytesSent, qint64 bytesTotal) |
| Emitted to report upload progress. | |
|
pure virtual |
Returns the data received from the network request.
Implemented in QtNetworkRequest.
|
pure virtual |
Returns whether the request is currently in progress.
Implemented in QtNetworkRequest.
|
pure virtual |
Starts the network request.
Implemented in QtNetworkRequest.