【文件属性】:
文件名称:anyproxy-wsclient:适用于AnyProxy的websocket客户端
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-20 15:40:13
JavaScript
anyproxy-wsclient
关于
这是的websocket客户端。 通过使用它,您可能会注意到有关通过代理服务器的实时请求的信息。
使用此客户端之前,请确保启动AnyProxy。
安装
$ spm install anyproxy-wsclient --save
用法
var anyproxyWsclient = require ( 'anyproxy-wsclient' ) ;
new anyproxyWsclient ( {
baseUrl : "127.0.0.1" ,
port : "8003" , //8003 is the default web socket port for anyproxy
onOpen : function ( ) {
console . log ( "connection stablished" ) ;
【文件预览】:
anyproxy-wsclient-master
----.spmignore(82B)
----examples()
--------index.md(13B)
----.travis.yml(267B)
----HISTORY.md(78B)
----README.md(951B)
----tests()
--------index-spec.js(170B)
----.gitignore(187B)
----index.js(2KB)
----package.json(547B)