if hc.user_name=='abcd' then hc.use_proxy('127.0.0.1:5555') endif hc.user_name=='efgh' then hc.use_proxy('127.0.0.1:6666') end
--[[ <HCExtension>@name Proxy@event BeforeRequestHeaderSend/proxy</HCExtension> ]]function proxy() if hc.user_name=='abcd' then hc.use_proxy('127.0.0.1:5555') hc.use_proxy_login('user1:password1') end if hc.user_name=='efgh' then hc.use_proxy('127.0.0.1:6666') hc.use_proxy_login('user2:password2') endend[/cose]