Concept Flow - WebSocket guards and pipes
Client sends WebSocket message
WebSocket Gateway receives message
Apply Guards
Reject connection or message
Stop
Send response or event
When a WebSocket message arrives, guards check if it is allowed. If yes, pipes transform or validate the data before the handler runs.