Mini Program failed to close websocket
- js (not in the project, I came up with a simple little demo)
the normal shutdown should be code 1000, but I just shut down normally, but the monitoring is 1006 abnormal shutdown. Ask for guidance ~
the normal shutdown should be code 1000, but I just shut down normally, but the monitoring is 1006 abnormal shutdown. Ask for guidance ~
when using websocket, in Mini Program, you can try [GoEasy] this websocket framework, which natively supports heartbeat, network disconnection, reconnection, and so on. The interface is also very simple, so it is not difficult to use.
Previous: Why does the use of css3 translate3d cause the display to be blurred?
Next: How to turn the page to get the list by using axios, drop-down refresh in react?