@loopback/socketio
Version:
LoopBack's WebSocket server based on socket.io
12 lines (11 loc) • 518 B
TypeScript
import { Application, ApplicationConfig, Binding, Constructor, Server } from '@loopback/core';
import { SocketIoServer } from './socketio.server';
export declare const ERR_NO_MULTI_SERVER: string;
export declare class SocketIoApplication extends Application {
constructor(config?: ApplicationConfig);
/**
* The main Socket server instance providing Socket connections for this application.
*/
get socketServer(): SocketIoServer;
server(server: Constructor<Server>, name?: string): Binding;
}