
implementation("io.ktor:ktor-server-websockets:3.5.0")Enables real-time, full-duplex communication between server and clients using WebSocket protocol. Supports message handling, session management, and configuration of settings like frame size and ping intervals. Allows adding extensions such as Deflate for compression.