using JetBrains.Annotations;
namespace WireMock.Settings
{
///
/// IProxyAndRecordSettings
///
public interface IProxyAndRecordSettings : IHttpClientSettings
{
///
/// The URL to proxy.
///
string Url { get; set; }
///
/// Save the mapping for each request/response to the internal Mappings.
///
bool SaveMapping { 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.
///
[CanBeNull]
string SaveMappingForStatusCodePattern { get; set; }
///
/// Save the mapping for each request/response to a .json mapping file.
///
bool SaveMappingToFile { get; set; }
///
/// Defines a list from headers which will be excluded from the saved mappings.
///
string[] ExcludedHeaders { get; set; }
///
/// Defines a list of cookies which will be excluded from the saved mappings.
///
string[] ExcludedCookies { get; set; }
}
}