CoinGeckoClient

constructor()

Create a CoinGeckoClient with a new HttpClient instance with the default engine. NOTE: Call close to close the HttpClient.

See the Ktor.io Default Engine docs.


constructor(httpClient: HttpClient)

Create a CoinGeckoClient with an externally managed HttpClient instance, close will NOT close the httpClient.