mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2025-09-04 01:42:44 +00:00
Refractor ApiClient and add support for body params
ApiClient was refractored to use PIMPL. This is mainly done to reduce compile times whenever the implementation of ApiClient itself changes, since a lot of files include it. The loaders have gained support for body parameters, this was somehow omitted before.
This commit is contained in:
parent
1453cbbc63
commit
96ecd8e7d8
116 changed files with 4437 additions and 106 deletions
|
@ -59,6 +59,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetYearsParams& parameters) const override;
|
||||
QUrlQuery query(const GetYearsParams& parameters) const override;
|
||||
QByteArray body(const GetYearsParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets a year.
|
||||
|
@ -71,6 +73,8 @@ public:
|
|||
protected:
|
||||
QString path(const GetYearParams& parameters) const override;
|
||||
QUrlQuery query(const GetYearParams& parameters) const override;
|
||||
QByteArray body(const GetYearParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue