resty icon indicating copy to clipboard operation
resty copied to clipboard

SetProxy

Open daijun168 opened this issue 1 year ago • 2 comments

What if the agent needs to verify the username and password

daijun168 avatar Dec 21 '23 11:12 daijun168

like this: client.SetProxy(http://{proxy_username}:{proxy_password}@{proxy_host}:{proxy_port})

chrisfeng0723 avatar Dec 27 '23 07:12 chrisfeng0723

proxy_username and proxy_password need url.QueryEscape

chrisfeng0723 avatar Dec 27 '23 07:12 chrisfeng0723

Thanks, @chrisfeng0723, for responding to the question.

jeevatkm avatar Mar 03 '24 00:03 jeevatkm