API Documentation
Loading...
Searching...
No Matches
QtNetworkRequest Class Reference

#include <QTNetworkRequest.h>

Inheritance diagram for QtNetworkRequest:
[legend]
Collaboration diagram for QtNetworkRequest:
[legend]

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< uint01m_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)
 

Constructor & Destructor Documentation

◆ QtNetworkRequest()

QtNetworkRequest ( const QNetworkRequest & request,
QNetworkAccessManager * manager )
inline

Member Function Documentation

◆ abort()

virtual void abort ( )
inlineoverridevirtual

Implements NetworkRequest.

◆ close()

virtual void close ( )
inlineoverridevirtual

Implements NetworkRequest.

◆ data()

virtual QByteArray data ( )
inlineoverridevirtual

Implements NetworkRequest.

◆ isRunning()

virtual bool isRunning ( )
inlineoverridevirtual

Implements NetworkRequest.

◆ setData() [1/2]

void setData ( const Buffer< uint01 > & data)
inline

◆ setData() [2/2]

void setData ( const File & data)
inline

◆ setReply()

void setReply ( QNetworkReply * reply)
inline

◆ start()

virtual bool start ( )
inlineoverridevirtual

Implements NetworkRequest.

Member Data Documentation

◆ m_data

Buffer<uint01> m_data

◆ m_file

File m_file

◆ m_manager

QNetworkAccessManager* m_manager

◆ m_reply

QNetworkReply* m_reply = nullptr

◆ m_request

QNetworkRequest m_request

The documentation for this class was generated from the following file: