AuthenticatedNetworkClient
internal class AuthenticatedNetworkClient(engine: HttpClientEngine, serverConfigDTO: ServerConfigDTO, bearerAuthProvider: BearerAuthProvider, kaliumLogger: KaliumLogger, installCompression: Boolean = true)
Provides a HttpClient that has all the needed configurations to talk with a Wire backend, like Serialization, and Content Negotiation. It's Authenticated, and will use the provided SessionManager to fill necessary Authentication headers, and refresh tokens as they expire.
Constructors
Link copied to clipboard
constructor(engine: HttpClientEngine, serverConfigDTO: ServerConfigDTO, bearerAuthProvider: BearerAuthProvider, kaliumLogger: KaliumLogger, installCompression: Boolean = true)