Commit Graph

8 Commits

Author SHA1 Message Date
nanoric
a4118f3364 [Add] 在RestClient.addRequest中增加onError参数,可以重定向onError回调。
[Add] 在WebSocketClient, RestClient的错误处理函数中打印更多的详细信息
[Add] 增加RestClient.printExceptionDetail和WebSocketClient.printExceptionDetail,用于打印详细的错误信息
[Mod] 修改了对应的测试样例
2018-10-30 23:36:50 -04:00
nanoric
cab8fd1e0e [Mod] WebSocket改名为Websocket 2018-10-23 21:31:17 -04:00
nanoric
788677370f [Mod] WebsocketClient改名为WebSocketClient 2018-10-15 04:45:57 -04:00
nanoric
c50c31a6bd [Mod] sendRequest改名为sendPacket
和onPacket对应。
2018-10-15 04:37:55 -04:00
nanoric
4d7c3bf417 [Add] WebSocketClient:增加onDisconnected 2018-10-15 04:35:55 -04:00
nanoric
a55246eb77 [Mod] WebSocketClient.onMessage改名为onPacket,以免和正常WebSocket的onMessage搞混。 2018-10-15 04:30:06 -04:00
nanoric
a3129a8007 [Mod] sendReq改名为sendRequest(同步),addReq改名为addRequest(异步) 2018-10-15 03:12:05 -04:00
nanoric
6e0e1c116b [Mod] 将RestClient和WebClient移动到api文件夹中,并修改import方式 2018-10-11 22:53:48 -04:00