add tokio echo server for mash
This commit is contained in:
Executable
+11
@@ -0,0 +1,11 @@
|
||||
const WebSocket = require('ws');
|
||||
|
||||
const ws = new WebSocket('ws://cryps.gg:40080');
|
||||
|
||||
ws.on('open', function open() {
|
||||
ws.send('something else');
|
||||
});
|
||||
|
||||
ws.on('message', function incoming(data) {
|
||||
console.log(data);
|
||||
});
|
||||
Reference in New Issue
Block a user