UNPKG

@nestjs/websockets

Version:

WebSockets for NestJS: gateways with message handlers, guards, pipes and interceptors, on Socket.IO or ws.

7 lines (6 loc) • 127 B
/** * @publicApi */ export interface OnGatewayDisconnect<T = any> { handleDisconnect(client: T, reason?: string): any; }