ApiDataRetriever

open class ApiDataRetriever

Constructors

Link copied to clipboard
constructor(url: String)

Properties

Link copied to clipboard
val NO_DATA_ERROR_MESSAGE: String = "Error: No data received from API"

Functions

Link copied to clipboard
open fun fetchResponse()
Link copied to clipboard
open fun shutDownConnections(urlConnection: HttpsURLConnection, apiReader: BufferedReader)