Skip to content

Glossary: Real-Time Apps with WebSockets

@fastify/websocket

The Fastify plugin, built on the ws library, that handles the WebSocket upgrade. It gives each connection to a route marked `{ websocket: true }` as a `socket`.

Where the book teaches it

Related terms

wsWebSocketUpgrade