@loopback/socketio
Version:
LoopBack's WebSocket server based on socket.io
15 lines (14 loc) • 452 B
TypeScript
import { Application, Binding, Component, Constructor, ProviderMap, Server } from '@loopback/core';
import { SocketIoBooter } from './booters';
export declare class SocketIoComponent implements Component {
booters: (typeof SocketIoBooter)[];
providers: ProviderMap;
/**
* Add built-in body parsers
*/
bindings: Binding[];
servers: {
[name: string]: Constructor<Server>;
};
constructor(app: Application);
}