shuai01


wangyishuai

  • ## 介绍 本项目为基于websocket的二次封装,自定义协议,需与配套的后端一同使用。本工具增加了消息确认机制,通过msg_id与配对的ack进行消息收发的确认,若未收到则一定时间后进行重发。`better-ws`借鉴了axios的拦截器,实现了一系列自己的拦截器,在websocket的通信的生命周期中的恰当位置执行这些拦截器钩子。除此之外还增加了类似http请求的通信方式rpc消息,通过promise封装,发送消息后再`.then`中等待消息结果,或`.catch`中处理发送失败事件。当前版本支持w

    published 1.0.8 3 years ago
  • ## Project setup ``` yarn install ```

    published 0.1.13 4 years ago
  • 个人通用项目脚手架工具,包含通用ts项目与通用es6项目

    published 0.1.2 4 years ago
  • geekrole cli utils

    published 1.0.1 3 years ago
  • geekrole cli core

    published 1.0.1 3 years ago
  • The core library of Lin-CMS-Koa-TS

    published 0.0.2 2 years ago
  • published 1.0.0 2 years ago
  • published 1.0.0 2 years ago