Matrix Client Server Api Client Factory
interface MatrixClientServerApiClientFactory
Functions
Link copied to clipboard
open fun create(baseUrl: Url? = null, authProvider: MatrixAuthProvider = MatrixAuthProvider.classicInMemory(), onLogout: suspend (LogoutInfo) -> Unit = { }, eventContentSerializerMappings: EventContentSerializerMappings = DefaultEventContentSerializerMappings, json: Json = createMatrixEventJson(eventContentSerializerMappings), syncBatchTokenStore: SyncBatchTokenStore = SyncBatchTokenStore.inMemory(), syncLoopDelay: Duration = 2.seconds, syncLoopErrorDelay: Duration = 5.seconds, syncCoroutineScope: CoroutineScope? = null, httpClientEngine: HttpClientEngine? = null, httpClientConfig: HttpClientConfig<*>.() -> Unit? = null): MatrixClientServerApiClient