module CaidoMutations::UpstreamProxies

Defined in:

client/mutations.cr

Class Method Summary

Class Method Detail

def self.create_http(kind : String, address : String, allowlist : Array(String) = [] of String, denylist : Array(String) = [] of String) #

Create an HTTP upstream proxy


[View source]
def self.create_socks(kind : String, address : String, allowlist : Array(String) = [] of String, denylist : Array(String) = [] of String) #

Create a SOCKS upstream proxy


[View source]
def self.delete_http(proxy_id : String) #

Delete an HTTP upstream proxy


[View source]
def self.delete_socks(proxy_id : String) #

Delete a SOCKS upstream proxy


[View source]
def self.toggle_http(proxy_id : String, enabled : Bool) #

Toggle HTTP upstream proxy enabled state


[View source]
def self.toggle_socks(proxy_id : String, enabled : Bool) #

Toggle SOCKS upstream proxy enabled state


[View source]