简体   繁体   English

如何通过Node.js中的代理服务器测试网站的速度

[英]How to test speed of a website through proxy server in nodejs

I want to build application which tests the speed of website(website is inserted by user) through various proxy servers (also inserted by user). 我想构建通过各种代理服务器(也由用户插入)测试网站(用户插入网站)速度的应用程序。 How can it be done in nodejs ? 如何在nodejs完成?

First, connect to the proxy server and send ping request through that proxy server. 首先,连接到代理服务器并通过该代理服务器发送ping请求。 See net-ping and ping-wrapper 请参阅net-pingping-wrapper

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM