This is designed to send network requests with the help of Qt's QNetworkAccessManager. More...
#include <QtRequestSender.hpp>
Public Member Functions | |
QtRequestSender (const foundation::QtPtr< QObject > &parent) | |
Full initialisation constructor that is responsible for sending network requests within a Qt application. It takes a parent Qt object as a parameter to ensure proper memory management and adherence to the Qt object hierarchy. | |
foundation::UniqueQtPtr< ReplyResponse > | get (const QNetworkRequest &request) override |
![]() | |
RequestSender (const foundation::QtPtr< QObject > &parent) | |
Fully initialises the object with a specified parent. | |
This is designed to send network requests with the help of Qt's QNetworkAccessManager.
|
explicit |
Full initialisation constructor that is responsible for sending network requests within a Qt application. It takes a parent Qt object as a parameter to ensure proper memory management and adherence to the Qt object hierarchy.
parent | A smart pointer to the Qt object that will act as the parent of this instance. This parameter ensures the proper management of the object's lifecycle. |
|
overridevirtual |
Sends a GET request using the specified QNetworkRequest.
request | The object containing all the necessary information for the sending GET request. |
Implements drn::networking::RequestSender.