1 #ifndef NETWORKREQUESTHANDLER_H
2 #define NETWORKREQUESTHANDLER_H
5 #include <QNetworkReply>
26 virtual ~NetworkRequestHandler();
44 void OnNetworkReply( QNetworkReply *reply );
45 void OnSSLErrors( const
QList<QSslError> &sslErrors );
46 void OnNetworkReplyError( QNetworkReply::NetworkError code );
47 void OnNetworkReplyTimeout( const
ApplicationDefines::NetworkRequestType networkRequestType );
50 void PostSendData( QNetworkReply *networkReply, const
int replyTimeout, const
ApplicationDefines::NetworkRequestType networkRequestType );
53 QScopedPointer<DataClass> d;
56 #endif // NETWORKREQUESTHANDLER_H
Definition: ApplicationStateManager.h:43
Definition: ProjectConfiguration.h:11
Definition: NetworkRequestHandler.h:19
SendNetworkRequestResult
Definition: NetworkRequestHandler.h:16
void Init(ApplicationStateManager *applicationStateManager)
Definition: NetworkRequestHandler.cpp:165
Definition: NetworkRequestHandler.h:18
Definition: NetworkRequestHandler.h:20
void RegisterNetworkRequest(const ApplicationDefines::NetworkRequestType networkRequestType, const QUrl url, const int networkRequestParameter=ApplicationDefines::NetworkRequestParameterUndefined)
Definition: NetworkRequestHandler.cpp:173
Definition: ApplicationDefines.h:88
SendNetworkRequestResult SendNetworkRequest(const QJsonObject jsonRequest, const ApplicationDefines::NetworkRequestType networkRequestType, const int replyTimeout=0)
SendNetworkRequest - sends an HTTP POST request to the destination specified by request.
Definition: NetworkRequestHandler.cpp:179
Definition: NetworkRequestHandler.h:12
Definition: NetworkRequestHandler.h:21