
implementation("io.ktor:ktor-websockets:3.5.1")Enables real-time, full-duplex communication between clients and servers using the WebSocket protocol. Supports configuration of frame size, ping intervals, and serialization. Facilitates handling WebSocket sessions for message exchange.