
implementation("io.ktor:ktor-websockets:3.4.1")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 serialization formats like JSON, XML, CBOR, and ProtoBuf.