write-ups-challenges-2021-2022/rng_farm/backend/node_modules/ws/browser.js

9 lines
176 B
JavaScript
Raw Permalink Normal View History

2021-12-02 23:33:26 +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'
);
};