MatrixClientServerApiClientImpl

class MatrixClientServerApiClientImpl(authProvider: MatrixClientAuthProvider, val eventContentSerializerMappings: EventContentSerializerMappings = EventContentSerializerMappings.default, val json: Json = createMatrixEventJson(eventContentSerializerMappings), syncBatchTokenStore: SyncBatchTokenStore = SyncBatchTokenStore.inMemory(), syncErrorDelayConfig: RetryFlowDelayConfig = RetryFlowDelayConfig.sync, coroutineContext: CoroutineContext = Dispatchers.Default, asUserId: UserId? = null, asDeviceId: String? = null, httpClientEngine: HttpClientEngine? = null, httpClientConfig: HttpClientConfig<*>.() -> Unit? = null) : MatrixClientServerApiClient

Constructors

Link copied to clipboard
constructor(authProvider: MatrixClientAuthProvider, eventContentSerializerMappings: EventContentSerializerMappings = EventContentSerializerMappings.default, json: Json = createMatrixEventJson(eventContentSerializerMappings), syncBatchTokenStore: SyncBatchTokenStore = SyncBatchTokenStore.inMemory(), syncErrorDelayConfig: RetryFlowDelayConfig = RetryFlowDelayConfig.sync, coroutineContext: CoroutineContext = Dispatchers.Default, asUserId: UserId? = null, asDeviceId: String? = null, httpClientEngine: HttpClientEngine? = null, httpClientConfig: HttpClientConfig<*>.() -> Unit? = null)
constructor(baseUrl: Url, eventContentSerializerMappings: EventContentSerializerMappings = EventContentSerializerMappings.default, json: Json = createMatrixEventJson(eventContentSerializerMappings), syncBatchTokenStore: SyncBatchTokenStore = SyncBatchTokenStore.inMemory(), syncErrorDelayConfig: RetryFlowDelayConfig = RetryFlowDelayConfig.sync, coroutineContext: CoroutineContext = Dispatchers.Default, asUserId: UserId? = null, asDeviceId: String? = null, httpClientEngine: HttpClientEngine? = null, httpClientConfig: HttpClientConfig<*>.() -> Unit? = null)

Properties

Link copied to clipboard
open override val appservice: AppserviceApiClient
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val baseUrl: Url
Link copied to clipboard
open override val device: DeviceApiClientImpl
Link copied to clipboard
Link copied to clipboard
open override val json: Json
Link copied to clipboard
open override val key: KeyApiClientImpl
Link copied to clipboard
open override val media: MediaApiClientImpl
Link copied to clipboard
open override val push: PushApiClientImpl
Link copied to clipboard
open override val room: RoomApiClientImpl
Link copied to clipboard
open override val server: ServerApiClientImpl
Link copied to clipboard
open override val sync: SyncApiClientImpl
Link copied to clipboard
open override val user: UserApiClientImpl

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
open suspend override fun closeSuspending()