toggle menu
data-models
JVM
switch theme
search in API
data-models
/
org.cryptotrader.data.library.model.http
/
ApiDataRetriever
Api
Data
Retriever
open
class
ApiDataRetriever
Members
Constructors
Api
Data
Retriever
Link copied to clipboard
constructor
(
url
:
String
)
Properties
NO_DATA_ERROR_MESSAGE
Link copied to clipboard
val
NO_DATA_ERROR_MESSAGE
:
String
=
"Error: No data received from API"
Functions
fetch
Response
Link copied to clipboard
open
fun
fetchResponse
(
)
shut
Down
Connections
Link copied to clipboard
open
fun
shutDownConnections
(
urlConnection
:
HttpsURLConnection
,
apiReader
:
BufferedReader
)