rjweb-server
Version:
Easy and Robust Way to create a Web Server with Many Easy-to-use Features in NodeJS
17 lines (16 loc) • 518 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const Base_1 = __importDefault(require("./Base"));
class WsCloseContext extends Base_1.default {
constructor(context) {
super(context);
/**
* The Type of this Websocket Event
* @since 5.7.0
*/ this.type = 'close';
}
}
exports.default = WsCloseContext;