pub async fn fetch_server_configuration<ApiClient>(
api: &ApiClientWrapper<ApiClient>,
) -> Result<ServerConfiguration, ClientError>where
ApiClient: XmtpBackendClient,Expand description
Read a deployment’s configuration with no database and no client (CFG-081).
The one call that needs no credential (CFG-045), so an app can learn whether the deployment requires authentication, which scopes it wants, and which chains it accepts before it decides how to build a client. Nothing is stored and no identifier binding is applied: there is no database to bind to.