Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added HttpLogger as a configuration for FhirEngine. #1570

Merged
merged 21 commits into from
Oct 4, 2022
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Review changes: Updated kdoc
  • Loading branch information
aditya-07 committed Sep 23, 2022
commit f2fe9d429de6264f17c242421c2c7ebc0eeabe38
Original file line number Diff line number Diff line change
Expand Up @@ -124,15 +124,18 @@ enum class DatabaseErrorStrategy {
RECREATE_AT_OPEN
}

/**
* A configuration to provide the remote FHIR server url, an [Authenticator] for supplying any auth
* token that may be necessary to communicate with the server and a [HttpLogger] to log the
* communication between the engine and the remote server.
*/
/** A configuration to provide necessary params for network connection. */
data class ServerConfiguration(
/** Url of the remote FHIR server. */
val baseUrl: String,
/** A configuration to provide the network connection parameters. */
val networkConfiguration: NetworkConfiguration = NetworkConfiguration(),
/**
* An [Authenticator] for supplying any auth token that may be necessary to communicate with the
* server
*/
val authenticator: Authenticator? = null,
/** Logs the communication between the engine and the remote server. */
val httpLogger: HttpLogger = HttpLogger.NONE
)

Expand Down