fetchRemoteConfig

abstract suspend fun fetchRemoteConfig(serverConfigUrl: String): Either<NetworkFailure, ServerConfig.Links>

download an on premise server configuration from a json file

Return

Either ServerConfigResponse or NetworkFailure

Parameters

serverConfigUrl

url for the server configuration url