AuthenticatedNetworkContainerV17
internal class AuthenticatedNetworkContainerV17(sessionManager: SessionManager, selfUserId: UserId, certificatePinning: CertificatePinning, mockEngine: HttpClientEngine?, mockWebSocketSession: WebSocketSession?, kaliumLogger: KaliumLogger, engine: HttpClientEngine = mockEngine ?: defaultHttpEngine(
serverConfigDTOApiProxy = sessionManager.serverConfig().links.apiProxy,
proxyCredentials = sessionManager.proxyCredentials(),
certificatePinning = certificatePinning
)) : AuthenticatedNetworkContainer, AuthenticatedHttpClientProvider
Constructors
Link copied to clipboard
internal constructor(sessionManager: SessionManager, selfUserId: UserId, certificatePinning: CertificatePinning, mockEngine: HttpClientEngine?, mockWebSocketSession: WebSocketSession?, kaliumLogger: KaliumLogger, engine: HttpClientEngine = mockEngine ?: defaultHttpEngine(
serverConfigDTOApiProxy = sessionManager.serverConfig().links.apiProxy,
proxyCredentials = sessionManager.proxyCredentials(),
certificatePinning = certificatePinning
))
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
For SFT servers, which are not Wire backends and must never receive the Wire access token.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Clear any cached token on the http clients. This will trigger a reloading of the access token from the session manager on the next request.
Link copied to clipboard
Close open WebSockets and wait until their clients finish; HTTP requests and later WebSockets still work. The engine may finish closing the native socket afterwards. Stop collectors first, or they may reconnect.
Link copied to clipboard
Fail HTTP requests to the backend, in flight and new, as having no network until block returns. WebSockets are not affected. Use it to end requests that would hold an account handoff.