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