using JetBrains.Annotations; namespace WireMock.Settings { /// /// ProxyAndRecordSettings /// public class ProxyAndRecordSettings : IProxyAndRecordSettings { /// /// The URL to proxy. /// [PublicAPI] public string Url { get; set; } /// /// Save the mapping for each request/response to the internal Mappings. /// [PublicAPI] public bool SaveMapping { get; set; } /// /// Save the mapping for each request/response also to a file. (Note that SaveMapping must also be set to true.) /// [PublicAPI] public bool SaveMappingToFile { get; set; } /// /// Only save request/response to the internal Mappings if the status code is included in this pattern. (Note that SaveMapping must also be set to true.) /// The pattern can contain a single value like "200", but also ranges like "2xx", "100,300,600" or "100-299,6xx" are supported. /// [PublicAPI] public string SaveMappingForStatusCodePattern { get; set; } = "*"; /// /// The clientCertificate thumbprint or subject name fragment to use. /// Example thumbprint : "D2DBF135A8D06ACCD0E1FAD9BFB28678DF7A9818". Example subject name: "www.google.com"" /// [PublicAPI] public string ClientX509Certificate2ThumbprintOrSubjectName { get; set; } /// [PublicAPI] public string[] ExcludedHeaders { get; set; } /// [PublicAPI] public string[] ExcludedCookies { get; set; } /// [PublicAPI] public IWebProxySettings WebProxySettings { get; set; } /// [PublicAPI] public bool? AllowAutoRedirect { get; set; } } }