smart-energy-monitor/software/flow/node_modules/ws/browser.js

9 lines
176 B
JavaScript
Raw Permalink Normal View History

2023-02-22 17:26:41 +01:00
'use strict';
module.exports = function () {
throw new Error(
'ws does not work in the browser. Browser clients must use the native ' +
'WebSocket object'
);
};