UNPKG

rjweb-server

Version:

Easy and Robust Way to create a Web Server with Many Easy-to-use Features in NodeJS

10 lines (9 loc) 360 B
import InternalRequestContext from "../../types/internal/classes/RequestContext"; import Base from "./Base"; export default class WsCloseContext<Context extends Record<any, any> = {}> extends Base<Context> { constructor(context: InternalRequestContext); /** * The Type of this Websocket Event * @since 5.7.0 */ readonly type = "close"; }