ServerConfiguration

data class ServerConfiguration(val baseUrl: String, val networkConfiguration: NetworkConfiguration = NetworkConfiguration(), val authenticator: HttpAuthenticator? = null, val httpLogger: HttpLogger = HttpLogger.NONE)

Configuration for connecting to a remote FHIR server.

Constructors

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

Properties

Link copied to clipboard

An optional HttpAuthenticator for providing HTTP authorization headers.

Link copied to clipboard

The base URL of the remote FHIR server.

Link copied to clipboard

Logs the communication between the engine and the remote server. Defaults to HttpLogger.NONE.

Link copied to clipboard

Configuration for network connection parameters. Defaults to NetworkConfiguration.