ApiHumanConfig

data class ApiHumanConfig(baseUrl: String, val headers: Map<String, String> = emptyMap(), val connectivityManager: ConnectivityManager? = null)

Parameters

headers

example: ("Luna-Account-Id", "sdfqwe-qwerqw-asdfasw-qwew") these headers will be added to every request. optional headers can be added in specific requests.

Constructors

Link copied to clipboard
constructor(baseUrl: String, headers: Map<String, String> = emptyMap(), connectivityManager: ConnectivityManager? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val url: String