mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-03-27 03:21:04 +01:00
* Add blacklist for Request Cookies. Refactor code. Fix tests. * Fix tests and address code review notes * Fix tests
40 lines
1.3 KiB
C#
40 lines
1.3 KiB
C#
namespace WireMock.Settings
|
|
{
|
|
/// <summary>
|
|
/// IProxyAndRecordSettings
|
|
/// </summary>
|
|
public interface IProxyAndRecordSettings
|
|
{
|
|
/// <summary>
|
|
/// The URL to proxy.
|
|
/// </summary>
|
|
string Url { get; set; }
|
|
|
|
/// <summary>
|
|
/// Save the mapping for each request/response to the internal Mappings.
|
|
/// </summary>
|
|
bool SaveMapping { get; set; }
|
|
|
|
/// <summary>
|
|
/// Save the mapping for each request/response to also file. (Note that SaveMapping must also be set to true.)
|
|
/// </summary>
|
|
bool SaveMappingToFile { get; set; }
|
|
|
|
/// <summary>
|
|
/// The clientCertificate thumbprint or subject name fragment to use.
|
|
/// Example thumbprint : "D2DBF135A8D06ACCD0E1FAD9BFB28678DF7A9818". Example subject name: "www.google.com""
|
|
/// </summary>
|
|
string ClientX509Certificate2ThumbprintOrSubjectName { get; set; }
|
|
|
|
/// <summary>
|
|
/// Defines a list from headers which will excluded from the saved mappings.
|
|
/// </summary>
|
|
string[] BlackListedHeaders { get; set; }
|
|
|
|
/// <summary>
|
|
/// Defines a list of cookies which will excluded from the saved mappings.
|
|
/// </summary>
|
|
string[] BlackListedCookies { get; set; }
|
|
}
|
|
}
|