module

CaidoMutations::UpstreamProxies

Class methods

create_http(kind : String, address : String, allowlist : Array(String) = [] of String, denylist : Array(String) = [] of String)

Create an HTTP upstream proxy

Source
create_socks(kind : String, address : String, allowlist : Array(String) = [] of String, denylist : Array(String) = [] of String)

Create a SOCKS upstream proxy

Source
delete_http(proxy_id : String)

Delete an HTTP upstream proxy

Source
delete_socks(proxy_id : String)

Delete a SOCKS upstream proxy

Source
toggle_http(proxy_id : String, enabled : Bool)

Toggle HTTP upstream proxy enabled state

Source
toggle_socks(proxy_id : String, enabled : Bool)

Toggle SOCKS upstream proxy enabled state

Source