
implementation("io.ktor:ktor-websockets:3.4.0")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. Allows serialization and deserialization of messages in formats such as JSON, XML, CBOR, and ProtoBuf.