nanoric
|
cab8fd1e0e
|
[Mod] WebSocket改名为Websocket
|
2018-10-23 21:31:17 -04:00 |
|
nanoric
|
35518106a2
|
[Mod] 重构RestClient, WebSocketClient
主要有:
* beforeRequest改名为sign
* onFailed, onError由函数指针改为函数(利用Python的特性,可以重载,也可以仍然当函数指针用)
* sendData改名为sendBinary
* 优化了WebSocketClient的循环逻辑
|
2018-10-18 05:30:30 -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 |
|