fetch Server Configuration
suspend fun fetchServerConfiguration(backendUrl: String, appVersion: String? = null): ServerConfiguration
Read a deployment's configuration with no database, no client, and no credential (spec 006 CFG-081).
Call this before deciding how to build a client: it reports whether the deployment requires authentication, which scopes it wants, and which chains it accepts. Nothing is stored and no identifier binding is applied, because there is no database to bind to.
Throws
when the deployment did not answer.
when it answered with a configuration this client cannot use.
fetchServerConfiguration for an already-built ClientOptions.Api.