agent/agent/http/index library

Constants

btoa → const String Function(dynamic value)
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})