Drop HTTP/proxy mirror types; speak Void::Net directly
Delete Api::HttpMethod/Header/Request/Response/ProxyConfig/ProxyType + RetryConfig — they duplicated Void::Net::* and Void::Retry. INetworkClient now takes/returns Void::Net::Request/Response/Header/ProxyConfig (retry tuning drops off the public interface; it was unused and lives inside the client now). NetworkConfig.proxy becomes Void::Net::ProxyConfig, and NetworkTypes.hpp is a thin forwarder to <Void/Net/Http.hpp>. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
1 parent
a2de8c63ce
commit
85c0377e87
3 files changed
+25
-187
No files matched your search
@@ -57,7 +57,7 @@ namespace Echoion::Api
|
||||
|
||||
// Network & Proxy Settings
|
||||
struct NetworkConfig {
|
||||
std::optional<ProxyConfig> proxy;
|
||||
std::optional<Void::Net::ProxyConfig> proxy;
|
||||
bool rpcEnabled = true;
|
||||
uint16_t rpcPort = 8765;
|
||||
std::string rpcBindAddress = "127.0.0.1";
|
||||
|
||||
Reference in new issue
Block a user