node-proxy-agent:将代理协议映射到`http.Agent`实现

时间:2021-05-13 00:07:17
【文件属性】:
文件名称:node-proxy-agent:将代理协议映射到`http.Agent`实现
文件大小:10KB
文件格式:ZIP
更新时间:2021-05-13 00:07:17
JavaScript 代理人 将代理协议映射到http.Agent实现 该模块提供了一个功能,可基于给定的代理URI返回代理http.Agent实例以供使用。 如果未提供URI,则使用从$HTTP_PROXY , $HTTPS_PROXY和$NO_PROXY等获取URI。 使用LRU缓存,以便透明地将http.Agent实例重新用于对同一代理服务器的后续HTTP请求。 下表列出了当前实现的协议映射: 协议 http请求的代理 https请求的代理 例子 http http://proxy-server-over-tcp.com:3128 https https://proxy-server-over-tls.com:3129 socks(v5) socks://username:password@some-socks-proxy.com:9050 (用户名和密码是可选的) socks5 soc
【文件预览】:
node-proxy-agent-master
----.gitignore(50B)
----package.json(1KB)
----History.md(2KB)
----index.js(5KB)
----.github()
--------workflows()
----README.md(4KB)
----test()
--------ssl-cert-snakeoil.pem(696B)
--------test.js(10KB)
--------ssl-cert-snakeoil.key(887B)
----index.d.ts(352B)

网友评论