qTbot 0.2.123.6f57966
qTbot is base back end library for your c++ Qt projects.
telegramsinglerquest.h
Go to the documentation of this file.
1//#
2//# Copyright (C) 2023-2026 QuasarApp.
3//# Distributed under the GPLv3 software license, see the accompanying
4//# Everyone is permitted to copy and distribute verbatim copies
5//# of this license document, but changing it is not allowed.
6//#
7
8#ifndef TELEGRAMSINGLERQUEST_H
9#define TELEGRAMSINGLERQUEST_H
10
11#include <qTbot/irequest.h>
12#include <QVariant>
13#include <QMap>
14
15namespace qTbot {
16
37{
38public:
44 TelegramSingleRquest(const QString &request, const QMap<QString, QVariant> &args);
45
50 TelegramSingleRquest(const QString& request);
51
52 QString baseAddress() const override;
53 RequestMethod method() const override;
54
55};
56}
57#endif // TELEGRAMSINGLERQUEST_H
RequestMethod method() const override
method returns the method of the request.
QString baseAddress() const override
baseAddress This method returns the base domain of the remote server.
TelegramSingleRquest(const QString &request, const QMap< QString, QVariant > &args)
TelegramSingleRquest This is the main constructor of the single requests.
RequestMethod
RequestMethod This is the list of supported request types.
Definition irequest.h:43
const QMap< QString, QVariant > & args() const
args This method returns the the current list of arguments
Definition irequest.cpp:30
const QString & request() const
request Returns the current request command.
Definition irequest.cpp:102
iRequest()
iRequest default constructor.
Definition irequest.cpp:15