Network Configuration
data class NetworkConfiguration(val connectionTimeOut: Long = 10, val readTimeOut: Long = 10, val writeTimeOut: Long = 10, val uploadWithGzip: Boolean = false, val httpCache: CacheConfiguration? = null)
Configuration for network connection parameters used when communicating with a remote FHIR server.
Constructors
Link copied to clipboard
constructor(connectionTimeOut: Long = 10, readTimeOut: Long = 10, writeTimeOut: Long = 10, uploadWithGzip: Boolean = false, httpCache: CacheConfiguration? = null)
Properties
Link copied to clipboard
Connection timeout in seconds. Defaults to 10 seconds.
Link copied to clipboard
Optional CacheConfiguration to enable Cache-Control headers for network requests.
Link copied to clipboard
Read timeout in seconds for network connections. Defaults to 10 seconds.
Link copied to clipboard
Enables compression of requests when uploading to a server that supports gzip. Defaults to false.
Link copied to clipboard
Write timeout in seconds for network connections. Defaults to 10 seconds.