Newer
Older
alert / js / node_modules / ws / browser.js
@Réz István Réz István on 18 Nov 2021 176 bytes first commit
'use strict';

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