We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d4a791 commit 402302fCopy full SHA for 402302f
content/websockets/adapter.md
@@ -92,7 +92,7 @@ export class WsAdapter implements WebSocketAdapter {
92
constructor(private app: INestApplicationContext) {}
93
94
create(port: number, options: any = {}): any {
95
- return new ws.Server({ port, ...options });
+ return new WebSocket.Server({ port, ...options });
96
}
97
98
bindClientConnect(server, callback: Function) {
0 commit comments