You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi @ArturJS websocket-as-promised is intended to be a client, not server. Because in case of server, it's not clear what should be promisified. Your example with ws looks nice to me.
You can use any websocket server library for websocket-as-promised client.
Hello @vitalets,
Just out of curiosity, is it possible to use
websocket-as-promised
as a websocket server akin tows
module?For example:
https://github.com/websockets/ws#simple-server
If it's not can I submit PR that will introduce this functionality?
Thanks!
The text was updated successfully, but these errors were encountered: