Rewrite NetworkClient as a Void::Net::HttpClient adapter

Replace the ~700-line hand-rolled HTTP stack (Boost.Beast/Asio client,
URL parsing, HTTP-CONNECT + SOCKS5 proxy handshakes, a bespoke 4-thread
packaged_task pool) with a thin adapter over Void::Net::HttpClient that
still implements Api::INetworkClient. Translates Api::HttpRequest/Response/
ProxyConfig <-> Void::Net types; retry/backoff stays on Void::Retry; async
methods use std::async. Link Void::Net.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
faumarayandClaude Opus 4.8 committed 2026-06-22 16:35:11 +03:00
1 parent 00759450ff
commit 914eb0a232
3 files changed
+143 -940

No files matched your search

+1
View File
@@ -105,6 +105,7 @@ target_link_libraries(EchoionCore
Void::Text
Void::Time
Void::Math
Void::Net
PRIVATE
Threads::Threads
qjs