
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
@proton/nestjs-uws
Advanced tools
npm i nestjs-uws
import { UWebSocketAdapter } from 'nestjs-uws';
const app = await NestFactory.create(ApplicationModule);
app.useWebSocketAdapter(new UWebSocketAdapter({
port: 8099,
}));
You can't create SSL secure APP for now. You will need to use reverse-proxy to hide the websocket server behind.
UWS Adapter options
| Name | Type |
|---|---|
| port | number |
To use the NestJS WebSocket gateway decorators you should implement the base packet structure and send any messages from the client using the next structure
{
"event": String,
"data": any
}
FAQs
NestJS UWebSocket.js adapter
We found that @proton/nestjs-uws demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.