installApiDefaults
fun HttpClientConfig<*>.installApiDefaults(json: Json, userAgent: String?, logRequests: Boolean)(source)
What every host's API client installs, whatever its engine: JSON content negotiation, the API base URL, the shared timeouts and retry policy, and request logging through Kermit when logRequests.
Parameters
userAgent
sent with every request; null where the platform sets its own, as a browser does.