websocket-constructor.js 520 B

1234567891011
  1. "use strict";
  2. var __importDefault = (this && this.__importDefault) || function (mod) {
  3. return (mod && mod.__esModule) ? mod : { "default": mod };
  4. };
  5. Object.defineProperty(exports, "__esModule", { value: true });
  6. exports.nextTick = exports.defaultBinaryType = exports.usingBrowserWebSocket = exports.WebSocket = void 0;
  7. const ws_1 = __importDefault(require("ws"));
  8. exports.WebSocket = ws_1.default;
  9. exports.usingBrowserWebSocket = false;
  10. exports.defaultBinaryType = "nodebuffer";
  11. exports.nextTick = process.nextTick;