@midwayjs/wsOverview版本:Next本页总览@midwayjs/ws Index ClassesConfigurationFrameworkInterfacesContextType AliasesApplicationIMidwayWSApplicationIMidwayWSConfigurationOptionsIMidwayWSContextNextFunctionType Aliases ApplicationApplication: IMidwayWSApplicationIMidwayWSApplicationIMidwayWSApplication: IMidwayApplication<IMidwayWSContext, { getConnectionMiddleware: ContextMiddlewareManager<Context, NextFunction, undefined>; useConnectionMiddleware: (middleware: CommonMiddlewareUnion<Context, NextFunction, undefined>) => void }> & WebSocket.ServerIMidwayWSConfigurationOptionsIMidwayWSConfigurationOptions: { enableServerHeartbeatCheck?: boolean; pubClient?: any; serverHeartbeatInterval?: number; subClient?: any } & Partial<WebSocket.ServerOptions> & IConfigurationOptionsIMidwayWSContextIMidwayWSContext: IMidwayContext<WebSocket & { app: IMidwayWSApplication; isAlive: boolean }>NextFunctionNextFunction: BaseNextFunction