- "Server started at ..." 前增加 "ERROR:X API registered failed."
HttpServer.onInputBufferError
改为call.error('InputBufferError')
- 替换
colors
为chalk
- Optimize log for
sendMsg
andbroadcastMsg
- Return
Internal Server Error
whenSendReturnErr
occured
- Remove error
API not return anything
- handler of
client.listenMsg
changed to(msg, msgName, client)=>void
- NodeJS 12 compability issue (
Uint8Array
andBuffer
is not treated samely)
server.listenMsg
would returnhandler
that passed in