26 lines
444 B
C++
26 lines
444 B
C++
// SPDX-FileCopyrightText: 2023 Yury Gubich <blue@macaw.me>
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include "request.h"
|
|
|
|
#include <QUrlQuery>
|
|
|
|
namespace Request {
|
|
|
|
class Post : public Request {
|
|
Q_OBJECT
|
|
public:
|
|
Post(const QUrl& url, const QUrlQuery& form);
|
|
|
|
protected:
|
|
void aquireRequest (QNetworkAccessManager &manager) override;
|
|
void initializeRequest () override;
|
|
|
|
protected:
|
|
QUrlQuery form;
|
|
};
|
|
|
|
}
|