public static Function<? super RpcClient, RetryingRpcClient>
    newDecorator(RetryRuleWithContent<RpcResponse> retryRuleWithContent) {
        return builder(retryRuleWithContent).newDecorator();
    }
Creates a new {@link RpcClient} decorator that handles failures of an invocation and retries
RPC requests.

@param retryRuleWithContent the retry rule
core/src/main/java/com/linecorp/armeria/client/retry/RetryingRpcClient.java