Upgrade uws
hediyi opened this issue · comments
hediyi commented
try to use https://github.com/uNetworking/uWebSockets.js instead
hediyi commented
since the old uws
package is no longer maintained, and the new one doesn't provide a WebSocket binding, on client side I'll switch to importing ws
instead when WebSocket support is missing.
hediyi commented
when there is no WebSockets support in the environment, might be better to let users to inject a client constructor instead
hediyi commented
Since the old uws
is no longer maintained, and the new one always uses an internal HTTP/S server. We decided to keep the web socket
around for people who need an external HTTP/S server, and switch it to using ws
instead. And add another uws socket
for uws
users.