/// <summary>
        /// Gives the ability to customise the current umbraco request with options.
        /// All request methods will use these settings.
        /// </summary>
        /// <returns>Returns the request object (this)</returns>
        public UmbracoClientRequest WithSettings(UmbracoRequestSettings requestSettings)
        {
            if (requestSettings == null)
            {
                throw new ArgumentNullException(nameof(requestSettings));
            }

            settings = requestSettings;

            return(this);
        }
 public HttpRequestWithPolicy(UmbracoClientRequest outer)
 {
     this.outer    = outer;
     this.settings = outer.settings;
 }