https://github.com/websockets/ws
Raw File
Tip revision: 2405c17775fb57f5e07db123c6133733dd58bbab authored by Jana R on 29 March 2024, 11:53:43 UTC
[doc] Add punctuation for readability (#2213)
Tip revision: 2405c17
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