[英]How set proxy with username and password for `httpc` library?
I've tried the following without success:我尝试了以下但没有成功:
:httpc.set_options( proxy: {{'proxy.int.mycompany.com', 8080}, ['localhost'], proxy_auth: {'developer', 'developer'}})
And和
:httpc.set_options(proxy: { {'proxy.int.mycompany.com', 8080}, ['localhost'], {'proxy_auth', 'developer', 'developer'}})
:httpc.set_options/1
expects a proplist. :httpc.set_options/1
需要一个 proplist。
:httpc.set_options(
proxy: {{'proxy.int.mycompany.com', 8080}, ['localhost']},
proxy_auth: {'developer', 'developer'}
)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.