Revision 2f2b3e8f8417c799fd579ced1a3e89f9a18fbb1c authored by Luigi Pinca on 26 May 2021, 19:20:45 UTC, committed by Luigi Pinca on 26 May 2021, 19:21:11 UTC
1 parent c05d51f
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