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

Contains information specific for making a network request within the Qt Framework. More...

#include <QTNetworkRequest.h>

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

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

Detailed Description

Contains information specific for making a network request within the Qt Framework.


Constructor & Destructor Documentation

◆ QtNetworkRequest()

QtNetworkRequest ( const QNetworkRequest & request,
QNetworkAccessManager * manager )

Member Function Documentation

◆ abort()

virtual void abort ( )
overridevirtual

Implements NetworkRequest.

◆ close()

virtual void close ( )
overridevirtual

Implements NetworkRequest.

◆ data()

virtual QByteArray data ( )
overridevirtual

Implements NetworkRequest.

◆ isRunning()

virtual bool isRunning ( )
overridevirtual

Implements NetworkRequest.

◆ setData() [1/2]

void setData ( const Buffer< uint01 > & data)

◆ setData() [2/2]

void setData ( const File & data)

◆ setReply()

void setReply ( QNetworkReply * reply)

◆ start()

virtual bool start ( )
overridevirtual

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: