Initial work
This commit is contained in:
commit
63d1c4abdf
7 changed files with 200 additions and 0 deletions
21
nvhttp.h
Normal file
21
nvhttp.h
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#pragma once
|
||||
|
||||
#include <QUrl>
|
||||
#include <QtNetwork/QNetworkAccessManager>
|
||||
|
||||
class NvHTTP
|
||||
{
|
||||
public:
|
||||
NvHTTP(QString address);
|
||||
|
||||
private:
|
||||
QNetworkReply*
|
||||
openConnection(QUrl baseUrl,
|
||||
QString command,
|
||||
QString arguments,
|
||||
bool enableTimeout);
|
||||
|
||||
QUrl m_BaseUrlHttp;
|
||||
QUrl m_BaseUrlHttps;
|
||||
QNetworkAccessManager m_Nam;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue