agent/agent/http/index library

Constants

btoa → const String Function(dynamic value)
defaultExpireInDuration → const Duration
defaultExpireInMinutes → const int
Most of the timeouts will happen in 5 minutes.
defaultHttpAgentOption → const DefaultHttpAgentOption

Functions

withRetry<T>(FutureOr<T> action(), {int retryTimes = 3, int retryIntervalMills = 500}) Future<T>

Typedefs

FetchFunction<T> = Future<T> Function({dynamic body, required String endpoint, Map<String, String>? headers, String? host, FetchMethod method})