static <T extends Response> RetryRuleWithContent<T> onResponse(
            BiFunction<? super ClientRequestContext, ? super T,
                    ? extends CompletionStage<Boolean>> retryFunction,
            Backoff backoff) {
        return RetryRuleWithContent.<T>builder().onResponse(retryFunction).thenBackoff(backoff);
    }
Returns a newly created {@link RetryRuleWithContent} that will retry with the specified {@link Backoff}
if the specified {@code retryFunction} completes with {@code true}.
core/src/main/java/com/linecorp/armeria/client/retry/RetryRuleWithContent.java