dco_decode_proxy_config method
Implementation
@protected ProxyConfig dco_decode_proxy_config(dynamic raw){ // Codec=Dco (DartCObject based), see doc to use other codecs
switch (raw[0]) {
case 0: return ProxyConfig_UseSystem();
case 1: return ProxyConfig_Disable();
case 2: return ProxyConfig_Custom(url: dco_decode_String(raw[1]),);
default: throw Exception("unreachable");
} }