HTTP constructor
HTTP constructor
Implementation
HTTP({required this.client, this.restRetryLimit = 5}) {
if (restRetryLimit <= 0) {
throw Exception("restRetryLimit must be greater than 0");
}
client.log(LogLevel.info, "Initialized HTTP client object");
}