UNPKG

@loopback/socketio

Version:

LoopBack's WebSocket server based on socket.io

12 lines (11 loc) 677 B
import { Context, ControllerClass } from '@loopback/core'; import { SocketIoInvokeMethod, SocketIoRejectMethod, SocketIoSendMethod, SocketIoSequence } from './types'; export declare class DefaultSocketIoSequence implements SocketIoSequence { protected context: Context; protected controller: ControllerClass; protected invoke: SocketIoInvokeMethod; protected send: SocketIoSendMethod; protected reject: SocketIoRejectMethod; constructor(context: Context, controller: ControllerClass, invoke: SocketIoInvokeMethod, send: SocketIoSendMethod, reject: SocketIoRejectMethod); handle(methodName: string, args: unknown[], done: Function): Promise<void>; }