ServerConfiguration

data class ServerConfiguration(baseUrl: String, networkConfiguration: NetworkConfiguration, authenticator: Authenticator?, httpLogger: HttpLogger)

A configuration to provide necessary params for network connection.

Constructors

ServerConfiguration
Link copied to clipboard
fun ServerConfiguration(baseUrl: String, networkConfiguration: NetworkConfiguration = NetworkConfiguration(), authenticator: Authenticator? = null, httpLogger: HttpLogger = HttpLogger.NONE)

Properties

authenticator
Link copied to clipboard
val authenticator: Authenticator? = null
An Authenticator for supplying any auth token that may be necessary to communicate with the server
baseUrl
Link copied to clipboard
val baseUrl: String
Url of the remote FHIR server.
httpLogger
Link copied to clipboard
val httpLogger: HttpLogger
Logs the communication between the engine and the remote server.
networkConfiguration
Link copied to clipboard
val networkConfiguration: NetworkConfiguration
A configuration to provide the network connection parameters.

Sources

androidJvm source
Link copied to clipboard