Client side of SocketCluster. Latest version: 2.2.6, last published: 10 years ago. Start using sc2-client in your project by running `npm i sc2-client`. There are no other projects in the npm registry using sc2-client.
import{XrplClient}from"xrpl-client";constclient=newXrplClient(["ws://localhost:1337","wss://xrplcluster.com"],{assumeOfflineAfterSeconds:15,maxConnectionAttempts:4,connectAttemptTimeoutSeconds:4,}); Methods: send({ command: "..."}, {SendOptions})»Promise<AnyJson | CallResponse>» Se...
customFooter:自定义页脚模板; npmClientName:默认为 cnpm,如果你有自己开发或者 fork 的 npm 客户端的话请改成自己的 CLI 命令,这个应该会在一些页面的说明处替换成你所写的; backupFilePrefix:备份目录; database:{ //数据库相关配置,为一个对象,默认如果不配置将会是一个 ~/.cnpmjs.org/data.sqlite 的 SQL...
通过上边的 Server 端和 Client 端的配置,我们就可以在自己公司内发布一些不便公开的 package 到自己的 npm 仓库中。另外,cnpm 也是可以安装官方仓库的 package 的,安装过程中 cnpm 会到自己的仓库中寻找要安装的 package , 找不到的情况下会默认到 https://npm.taobao.org 寻找,这是阿里团队维护的一个完整 ht...
{enableCluster:是否启用 cluster-worker 模式启动服务,默认false,生产环节推荐为true;registryPort:API专用的 registry 服务端口,默认7001; webPort:Web 服务端口,默认7002; bindingHost:监听绑定的 Host ,默认为127.0.0.1,如果外面架了一层本地的 Nginx 反向代理或者 Apache 反向代理的话推荐不用改; ...
git config --global user.name userName git config --global user.email userEmail 分支12 标签2433 Juan PicadoUpdate README.mdebc617110天前 6044 次提交 提交 .changeset chore: update versions (next-8) (#5178) 11天前 .github Update x-e2e-jest-workflow.yml ...
node bin location = C:\Users\lj\.nvm\versions\node\v18.19.0\bin\node.exe ; node version = v18.19.0 ; npm local prefix = C:\work\Dexter\web-client ; npm version = 10.2.5 ; cwd = C:\work\Dexter\web-client ; HOME = C:\Users\lj ; Run `npm config ls -l` to show all defa...
2021-02-01 23:05:08,892 WARN 15552 [ClusterClient:Watcher] follower closed, and try to init it again 2021-02-01 23:05:08,895 ERROR 15552 [-/127.0.0.1/-/1ms GET /] nodejs.SocketCloseError: The socket was closed. (address: 127.0.0.1:6635) ...
PROBE_AUTH_SECRET=sevone-probe-client-basic-auth kubectl create secret generic $PROBE_AUTH_SECRET --from-literal=serverBasicAuthenticationUsername=<username> --from-literal=serverBasicAuthenticationPassword=<password> 其中<username>是使用者名稱,<password>是 SevOne NMS 用來作為基本鑑別的...
client.on('error',(err) =>{} )}, } With multi client exportdefault[ { name:'test1', url:'redis://:authpassword@127.0.0.1:6380/4', }, { name:'test2', host: process.env.REDIS_HOST, port:parseInt(process.env.REDIS_PORT),