UNPKG

@nestjs/websockets

Version:

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

8 lines (7 loc) • 95 B
/** * @publicApi */ export interface WsResponse<T = any> { event: string; data: T; }