Created
October 20, 2021 10:43
-
-
Save velotiotech/8e3bee1f4732eda2b3ad8ce1cb74aab4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const WebSocket = require('ws'); | |
const sockedEndpoint = 'http://0.0.0.0:3001'; | |
const ws1 = new WebSocket(sockedEndpoint, { | |
perMessageDeflate: false | |
}); | |
const ws2 = new WebSocket(sockedEndpoint, { | |
perMessageDeflate: false | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment