In production Kotlin 2.0 & Jetpack Compose (Real-Time), what is the primary engineering purpose of 'OkHttp WebSockets & Reconnecting Flow Client'?
- A. Power live support chat and sub-second rider ETA updates over a single persistent socket.
- B. Executing heavy disk I/O and synchronous network requests directly on the main UI rendering thread.
- C. Hardcoding production API secrets and plaintext auth tokens inside bundled client resources.
- D. Disabling lifecycle cancellation and holding strong references to destroyed screen contexts.
✓ Reveal Answer & Explanation
Correct Answer: Option A
'OkHttp WebSockets & Reconnecting Flow Client' is used in production Real-Time specifically for: Power live support chat and sub-second rider ETA updates over a single persistent socket.