
implementation("io.ktor:ktor-websockets:3.4.2")Enables real-time, full-duplex communication between clients and servers using the WebSocket protocol. Supports handling WebSocket sessions, sending and receiving messages, and configuring settings like frame size and ping intervals.