Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add readyState constants to browser
w3cwebsocket
Now the exposed `w3cwebsocket` export mirrors the native WebSocket more closely. I hit this bug when moving previously native code to use this wrapper, the server-sde code was fine, but the client-side code failed because `WebSocket.OPEN` was `undefined`.
- Loading branch information