Drop dead public API (network async/batch, getQueueSummaries)
INetworkClient loses the unused getAsync/postAsync/requestAsync (0 call-sites); ICoreInterface loses getQueueSummaries (0 call-sites). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
1 parent
e2e4214687
commit
c2b68dea2f
2 files changed
-14
No files matched your search
@@ -72,10 +72,6 @@ namespace Echoion::Api
|
|||||||
virtual Result<void> removeFromQueue(uint64_t queueId) = 0;
|
virtual Result<void> removeFromQueue(uint64_t queueId) = 0;
|
||||||
virtual Result<void> clearQueue() = 0;
|
virtual Result<void> clearQueue() = 0;
|
||||||
|
|
||||||
// Get queue as summaries (minimal data)
|
|
||||||
[[nodiscard]] virtual Result<std::vector<TrackSummary>>
|
|
||||||
getQueueSummaries() const = 0;
|
|
||||||
|
|
||||||
virtual Result<void> moveInQueue(uint64_t queueId,
|
virtual Result<void> moveInQueue(uint64_t queueId,
|
||||||
uint32_t newPosition) = 0;
|
uint32_t newPosition) = 0;
|
||||||
|
|
||||||
|
|||||||
@@ -34,16 +34,6 @@ namespace Echoion::Api
|
|||||||
[[nodiscard]] virtual Result<Void::Net::Response>
|
[[nodiscard]] virtual Result<Void::Net::Response>
|
||||||
request(const Void::Net::Request& req) = 0;
|
request(const Void::Net::Request& req) = 0;
|
||||||
|
|
||||||
// Asynchronous requests
|
|
||||||
[[nodiscard]] virtual std::future<Result<Void::Net::Response>>
|
|
||||||
getAsync(std::string_view url,
|
|
||||||
const std::vector<Void::Net::Header>& headers = {}) = 0;
|
|
||||||
[[nodiscard]] virtual std::future<Result<Void::Net::Response>>
|
|
||||||
postAsync(std::string_view url, std::string_view body,
|
|
||||||
const std::vector<Void::Net::Header>& headers = {}) = 0;
|
|
||||||
[[nodiscard]] virtual std::future<Result<Void::Net::Response>>
|
|
||||||
requestAsync(const Void::Net::Request& req) = 0;
|
|
||||||
|
|
||||||
// Proxy configuration
|
// Proxy configuration
|
||||||
virtual void
|
virtual void
|
||||||
setProxy(const std::optional<Void::Net::ProxyConfig>& proxy) = 0;
|
setProxy(const std::optional<Void::Net::ProxyConfig>& proxy) = 0;
|
||||||
|
|||||||
Reference in new issue
Block a user