resty
resty copied to clipboard
SetProxy
What if the agent needs to verify the username and password
like this: client.SetProxy(http://{proxy_username}:{proxy_password}@{proxy_host}:{proxy_port})
proxy_username and proxy_password need url.QueryEscape
Thanks, @chrisfeng0723, for responding to the question.