transparent-proxy

时间:2021-04-29 11:55:57
【文件属性】:
文件名称:transparent-proxy
文件大小:17KB
文件格式:ZIP
更新时间:2021-04-29 11:55:57
JavaScript 介绍 transparent-proxy扩展了本机 ,它充当了真正的透明http-proxy。 此模块建立在TCP级别之上,以避免nodejs http(s)-modules的标头剥离问题。 它允许动态地将客户端请求动态地上游传给其他代理或某些iFace,等等。 它支持。 快速开始 安装 npm i transparent-proxy 用 const ProxyServer = require ( 'transparent-proxy' ) ; //init ProxyServer const server = new ProxyServer ( ) ; //starting server on port 8080 server . listen ( 8080 , '0.0.0.0' , function ( ) { console . log ( 'TCP-Proxy-Se
【文件预览】:
transparent-proxy-master
----.gitignore(38B)
----README.md(6KB)
----examples()
--------authInAuth.js(1KB)
--------tcpOutgoing.js(384B)
--------trackOpenConnections.js(422B)
--------auth.js(410B)
--------spoofResponse.js(2KB)
--------interceptRequest.js(1KB)
--------start.js(259B)
--------upstream.js(647B)
--------spoofRequest.js(1KB)
----package.json(621B)
----ProxyServer.js(11KB)
----test.js(2KB)
----core()
--------getConnectionOptions.js(2KB)
--------Session.js(2KB)
----lib()
--------rebuildHeaders.js(597B)
--------constants.js(2KB)
--------isFunction.js(106B)
--------Logger.js(347B)
--------usingUpstreamToProxy.js(337B)
--------parseHeaders.js(1009B)

网友评论