Unit_AI/node_modules/ws/browser.js
2024-06-01 16:24:36 -04:00

8 lines
176 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'
);
};