UNPKG

@nestjs/websockets

Version:

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

5 lines (4 loc) • 225 B
import { ServerAndEventStreamsHost } from '../interfaces/server-and-event-streams-host.interface.js'; export declare class ServerAndEventStreamsFactory { static create<T = any>(server: T): ServerAndEventStreamsHost<T>; }