AsyncImageHeadersProvider
interface AsyncImageHeadersProvider
Provides HTTP headers for image loading requests in a suspending, thread-safe manner.
Unlike ImageHeadersProvider, this interface is designed for async operations such as reading an auth token from encrypted storage or fetching one from a remote endpoint. Implementations are always invoked on kotlinx.coroutines.Dispatchers.IO, so blocking calls are safe.
Prefer this over ImageHeadersProvider when integrating with ChatTheme.