mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2025-09-05 10:12:46 +00:00
openapigen: support for 204 No Content endpoints
This commit is contained in:
parent
b257fe60aa
commit
77cb5d5957
66 changed files with 6169 additions and 84 deletions
|
@ -62,6 +62,20 @@ protected:
|
|||
QByteArray body(const GetRemoteImagesParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Downloads a remote image for an item.
|
||||
*/
|
||||
|
||||
class DownloadRemoteImageLoader : public Jellyfin::Support::HttpLoader<void, DownloadRemoteImageParams> {
|
||||
public:
|
||||
explicit DownloadRemoteImageLoader(ApiClient *apiClient = nullptr);
|
||||
|
||||
protected:
|
||||
QString path(const DownloadRemoteImageParams& parameters) const override;
|
||||
QUrlQuery query(const DownloadRemoteImageParams& parameters) const override;
|
||||
QByteArray body(const DownloadRemoteImageParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Gets available remote image providers for an item.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue