
implementation("io.ktor:ktor-websockets:3.1.2")Enables real-time, full-duplex communication between clients and servers using the WebSocket protocol. Supports handling WebSocket sessions, configuring settings like frame size and ping periods, and adding extensions such as Deflate.