-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Description
查看源码,发现在onConnection之后就进行了reset
而ws是在onMessage才触发onopen
Lines 134 to 145 in b7928e9
| channel->onconnect = [this]() { | |
| if (unpack_setting) { | |
| channel->setUnpack(unpack_setting); | |
| } | |
| channel->startRead(); | |
| if (onConnection) { | |
| onConnection(channel); | |
| } | |
| if (reconn_setting) { | |
| reconn_setting_reset(reconn_setting); | |
| } | |
| }; |
Metadata
Metadata
Assignees
Labels
No labels