Open cangSDARM opened 3 years ago
WebSocket should be a full-duplex technology. The current API only provides onMessage and onClose, which still lacks some events, such as onOpen and onError.
And for the close event, should provide a closeCode and closeReason for the client closing action.
closeCode
closeReason
WebSocket should be a full-duplex technology. The current API only provides onMessage and onClose, which still lacks some events, such as onOpen and onError.