All Downloads are FREE. Search and download functionalities are using the official Maven repository.

csharp-netcore.RetryConfiguration.mustache Maven / Gradle / Ivy

There is a newer version: 7.10.0
Show newest version
using Polly;
using RestSharp;

namespace {{packageName}}.Client
{
    /// 
    /// Configuration class to set the polly retry policies to be applied to the requests.
    /// 
    public class RetryConfiguration
    {
        /// 
        /// Retry policy
        /// 
        public static Policy RetryPolicy { get; set; }

        /// 
        /// Async retry policy
        /// 
        public static AsyncPolicy AsyncRetryPolicy { get; set; }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy