slimp/node_modules/ws/browser.js
2023-06-12 11:40:38 -04:00

9 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'
);
};