Shawn Karber_
03/12/2020, 8:19 PMimport io.ktor.client.HttpClient
import io.ktor.client.request.*
import kotlinx.coroutines.*
/*
* List of required functions that each platform-specific code implementation needs in order
* to be compliant with this SDK.
*/
expect fun environmentMetaData(): String
/*
* Gathers relevant environment code from the device at runtime including the device details and
* operating system properties to assist in debugging, logging, and error reporting.
*
* @return: String
* a string representation of the meta data during runtime including os and device details
*/
fun gatherEnvironmentalMetaData(): String {
return environmentMetaData()
}
fun hitApi(uri: String): String {
return uri
}
fun fetcher(uri: String) = {
val client: HttpClient = HttpClient()
val content: String = async {
}
}