From c2b68dea2f33918ca44ddf40e2a53fa7fc23783c Mon Sep 17 00:00:00 2001 From: faumaray Date: Tue, 23 Jun 2026 14:27:22 +0300 Subject: [PATCH] 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 --- include/echoion/api/interfaces/CoreInterface.hpp | 4 ---- include/echoion/api/network/NetworkInterface.hpp | 10 ---------- 2 files changed, 14 deletions(-) diff --git a/include/echoion/api/interfaces/CoreInterface.hpp b/include/echoion/api/interfaces/CoreInterface.hpp index 5f02f15..e1546e6 100644 --- a/include/echoion/api/interfaces/CoreInterface.hpp +++ b/include/echoion/api/interfaces/CoreInterface.hpp @@ -72,10 +72,6 @@ namespace Echoion::Api virtual Result removeFromQueue(uint64_t queueId) = 0; virtual Result clearQueue() = 0; - // Get queue as summaries (minimal data) - [[nodiscard]] virtual Result> - getQueueSummaries() const = 0; - virtual Result moveInQueue(uint64_t queueId, uint32_t newPosition) = 0; diff --git a/include/echoion/api/network/NetworkInterface.hpp b/include/echoion/api/network/NetworkInterface.hpp index 88cd1bf..8f6f9ba 100644 --- a/include/echoion/api/network/NetworkInterface.hpp +++ b/include/echoion/api/network/NetworkInterface.hpp @@ -34,16 +34,6 @@ namespace Echoion::Api [[nodiscard]] virtual Result request(const Void::Net::Request& req) = 0; - // Asynchronous requests - [[nodiscard]] virtual std::future> - getAsync(std::string_view url, - const std::vector& headers = {}) = 0; - [[nodiscard]] virtual std::future> - postAsync(std::string_view url, std::string_view body, - const std::vector& headers = {}) = 0; - [[nodiscard]] virtual std::future> - requestAsync(const Void::Net::Request& req) = 0; - // Proxy configuration virtual void setProxy(const std::optional& proxy) = 0;