Revision 72296e54cad6b105f901b82174f86837b4bcd414 authored by Luigi Pinca on 08 September 2021, 19:42:28 UTC, committed by Luigi Pinca on 08 September 2021, 19:42:28 UTC
1 parent 3039b6b
Raw File
browser.js
'use strict';

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