
implementation("io.ktor:ktor-websockets:3.5.0")Enables full-duplex communication over a single TCP connection, facilitating real-time data exchange between clients and servers. Supports configuration of frame size, ping intervals, and extensions like Deflate for compression. Allows handling of WebSocket sessions for message exchange and broadcasting to multiple clients.