Server IP : 92.205.26.207 / Your IP : 216.73.216.16 Web Server : Apache System : Linux 207.26.205.92.host.secureserver.net 4.18.0-553.60.1.el8_10.x86_64 #1 SMP Thu Jul 10 04:01:16 EDT 2025 x86_64 User : zikryat ( 1002) PHP Version : 8.3.23 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/zikryat/public_html/node_modules/@nestjs/websockets/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
import { NestApplicationContextOptions } from '@nestjs/common/interfaces/nest-application-context-options.interface'; import { Type } from '@nestjs/common/interfaces/type.interface'; import { ApplicationConfig } from '@nestjs/core/application-config'; import { GraphInspector } from '@nestjs/core/inspector/graph-inspector'; import { Observable, Subject } from 'rxjs'; import { WsContextCreator } from './context/ws-context-creator'; import { MessageMappingProperties } from './gateway-metadata-explorer'; import { GatewayMetadata } from './interfaces/gateway-metadata.interface'; import { NestGateway } from './interfaces/nest-gateway.interface'; import { ServerAndEventStreamsHost } from './interfaces/server-and-event-streams-host.interface'; import { SocketServerProvider } from './socket-server-provider'; export declare class WebSocketsController { private readonly socketServerProvider; private readonly config; private readonly contextCreator; private readonly graphInspector; private readonly appOptions; private readonly logger; private readonly metadataExplorer; constructor(socketServerProvider: SocketServerProvider, config: ApplicationConfig, contextCreator: WsContextCreator, graphInspector: GraphInspector, appOptions?: NestApplicationContextOptions); connectGatewayToServer(instance: NestGateway, metatype: Type<unknown> | Function, moduleKey: string, instanceWrapperId: string): void; subscribeToServerEvents<T extends GatewayMetadata>(instance: NestGateway, options: T, port: number, moduleKey: string, instanceWrapperId: string): void; subscribeEvents(instance: NestGateway, subscribersMap: MessageMappingProperties[], observableServer: ServerAndEventStreamsHost): void; getConnectionHandler(context: WebSocketsController, instance: NestGateway, subscribersMap: MessageMappingProperties[], disconnect: Subject<any>, connection: Subject<any>): (...args: unknown[]) => void; subscribeInitEvent(instance: NestGateway, event: Subject<any>): void; subscribeConnectionEvent(instance: NestGateway, event: Subject<any>): void; subscribeDisconnectEvent(instance: NestGateway, event: Subject<any>): void; subscribeMessages<T = any>(subscribersMap: MessageMappingProperties[], client: T, instance: NestGateway): void; pickResult(deferredResult: Promise<any>): Promise<Observable<any>>; inspectEntrypointDefinitions(instance: NestGateway, port: number, messageHandlers: MessageMappingProperties[], instanceWrapperId: string): void; private assignServerToProperties; private printSubscriptionLogs; }