1 | import { InjectionToken } from '@nestjs/common/interfaces';
|
2 | import { Injectable } from '@nestjs/common/interfaces/injectable.interface';
|
3 | import { NestApplicationContextOptions } from '@nestjs/common/interfaces/nest-application-context-options.interface';
|
4 | import { ApplicationConfig } from '@nestjs/core/application-config';
|
5 | import { NestContainer } from '@nestjs/core/injector/container';
|
6 | import { InstanceWrapper } from '@nestjs/core/injector/instance-wrapper';
|
7 | import { GraphInspector } from '@nestjs/core/inspector/graph-inspector';
|
8 | export declare class SocketModule<THttpServer = any, TAppOptions extends NestApplicationContextOptions = NestApplicationContextOptions> {
|
9 | private readonly socketsContainer;
|
10 | private applicationConfig;
|
11 | private webSocketsController;
|
12 | private isAdapterInitialized;
|
13 | private httpServer;
|
14 | private appOptions;
|
15 | register(container: NestContainer, applicationConfig: ApplicationConfig, graphInspector: GraphInspector, appOptions: TAppOptions, httpServer?: THttpServer): void;
|
16 | connectAllGateways(providers: Map<InjectionToken, InstanceWrapper<Injectable>>, moduleName: string): void;
|
17 | connectGatewayToServer(wrapper: InstanceWrapper<Injectable>, moduleName: string): void;
|
18 | close(): Promise<any>;
|
19 | private initializeAdapter;
|
20 | private getContextCreator;
|
21 | }
|