BeforeRetry typedef

BeforeRetry = Future<HttpRequest?> Function(int attempt, HttpRequest request, HttpResponse? response, RhttpException? exception)

Implementation

typedef BeforeRetry = Future<HttpRequest?> Function(
  int attempt,
  HttpRequest request,
  HttpResponse? response,
  RhttpException? exception,
);