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:
1 parent
00759450ff
commit
914eb0a232
3 files changed
+143
-940
No files matched your search
@@ -105,6 +105,7 @@ target_link_libraries(EchoionCore
|
||||
Void::Text
|
||||
Void::Time
|
||||
Void::Math
|
||||
Void::Net
|
||||
PRIVATE
|
||||
Threads::Threads
|
||||
qjs
|
||||
|
||||
Reference in new issue
Block a user