API Documentation
|
Contains information specific for making a network request within the Qt Framework. More...
#include <QTNetworkRequest.h>
Public Member Functions | |
virtual void | abort () override |
virtual void | close () override |
virtual QByteArray | data () override |
virtual bool | isRunning () override |
QtNetworkRequest (const QNetworkRequest &request, QNetworkAccessManager *manager) | |
void | setData (const Buffer< uint01 > &data) |
void | setData (const File &data) |
void | setReply (QNetworkReply *reply) |
virtual bool | start () override |
Public Member Functions inherited from NetworkRequest |
Public Attributes | |
Buffer< uint01 > | m_data |
File | m_file |
QNetworkAccessManager * | m_manager |
QNetworkReply * | m_reply = nullptr |
QNetworkRequest | m_request |
Additional Inherited Members | |
Signals inherited from NetworkRequest | |
void | downloadProgressSignal (qint64 bytesReceived, qint64 bytesTotal) |
void | errorOccurredSignal (int error) |
void | finishedSignal () |
void | metaDataChangedSignal () |
void | redirectAllowedSignal () |
void | requestSentSignal () |
void | socketStartedConnectingSignal () |
void | uploadProgressSignal (qint64 bytesSent, qint64 bytesTotal) |
Contains information specific for making a network request within the Qt Framework.
QtNetworkRequest | ( | const QNetworkRequest & | request, |
QNetworkAccessManager * | manager ) |
|
overridevirtual |
Implements NetworkRequest.
|
overridevirtual |
Implements NetworkRequest.
|
overridevirtual |
Implements NetworkRequest.
|
overridevirtual |
Implements NetworkRequest.
void setData | ( | const File & | data | ) |
void setReply | ( | QNetworkReply * | reply | ) |
|
overridevirtual |
Implements NetworkRequest.
File m_file |
QNetworkAccessManager* m_manager |
QNetworkReply* m_reply = nullptr |
QNetworkRequest m_request |