Files: d456a6cc8589489e558e6164750474ed2cfc961e / test / test-79-npm / ws / ws.js
143 bytesRaw
1 | ; |
2 | |
3 | var WebSocket = require('ws'); |
4 | var ws = new WebSocket('ws://127.0.0.1/'); |
5 | ws.on('error', function () { |
6 | console.log('ok'); |
7 | }); |
8 |
Built with git-ssb-web