linx-simulator2/node_modules/ws/browser.js
2019-09-18 11:11:16 +03:00

9 lines
175 B
JavaScript

'use strict';
module.exports = function() {
throw new Error(
'ws does not work in the browser. Browser clients must use the native ' +
'WebSocket object'
);
};