Revision 4271f07cfc95cf7e1936388fb69e22a3731fa260 authored by Luigi Pinca on 26 May 2022, 16:59:42 UTC, committed by Luigi Pinca on 26 May 2022, 16:59:42 UTC
1 parent dc1781b
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