-
Notifications
You must be signed in to change notification settings - Fork 562
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
You want to:
- request a feature
info
Does engine.io should support cWS instead of uWS websocket module?
uWS is dead and cWS is the most mature successor and uses uWebsocket under the hood too.
I've tried to implement it by myself in server.js of engine.io adding simply new case in switch statement:
switch (this.wsEngine) {
case 'ws': wsModule = require('ws'); break;
case 'uws': wsModule = require('uws'); break;
case 'cws':
wsModule = require('@clusterws/cws');
wsModule.Server = wsModule.WebSocketServer;
break;
default: throw new Error('unknown wsEngine');
}
It seems to not working at all, but it states compatibility with ws module.
cWS github project: https://github.com/ClusterWS/cWS
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested