tsrpc@3.0.9
更新内容
Added
- Optimize log color
- Optimize log level
Changed
strictNullChecks
默认改为 false
tsrpc@3.0.6
更新内容
Added
- "Server started at ..." 前增加 "ERROR:X API registered failed."
Changed
HttpServer.onInputBufferError
改为 call.error('InputBufferError')
- 替换
colors
为 chalk
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)
tsrpc@3.0.3
更新内容
Added
server.listenMsg
would return handler
that passed in