summaryrefslogtreecommitdiffstats
path: root/middleware/node_modules/ws/browser.js
blob: ca4f628ac17c80e5b1d40910d1b18c605490deda (plain) (blame)
1
2
3
4
5
6
7
8
'use strict';

module.exports = function () {
  throw new Error(
    'ws does not work in the browser. Browser clients must use the native ' +
      'WebSocket object'
  );
};