跳到主要内容

· 1 分钟阅读

tsrpc@3.0.6 更新内容

Added

  • "Server started at ..." 前增加 "ERROR:X API registered failed."

Changed

  • HttpServer.onInputBufferError 改为 call.error('InputBufferError')
  • 替换 colorschalk

· 1 分钟阅读

tsrpc@3.0.5 更新内容

Added

  • Optimize log for sendMsg and broadcastMsg
  • Return Internal Server Error when SendReturnErr occured

Changed

  • Remove error API not return anything
  • handler of client.listenMsg changed to (msg, msgName, client)=>void

Fixed

  • NodeJS 12 compability issue (Uint8Array and Buffer is not treated samely)