dockerized_openAger/nodered/rootfs/data/node_modules/ws/browser.js

9 lines
175 B
JavaScript
Raw Normal View History

2020-10-17 16:42:50 +00:00
'use strict';
module.exports = function() {
throw new Error(
'ws does not work in the browser. Browser clients must use the native ' +
'WebSocket object'
);
};