// Copyright © WireMock.Net using System.Security.Cryptography.X509Certificates; using WireMock.Settings; namespace WireMock.ResponseBuilders; /// /// The ProxyResponseBuilder interface. /// public interface IProxyResponseBuilder : IStatusCodeResponseBuilder { /// /// WithProxy URL using Client X509Certificate2. /// /// The proxy url. /// The X509Certificate2 file to use for client authentication. /// A . IResponseBuilder WithProxy(string proxyUrl, string? clientX509Certificate2ThumbprintOrSubjectName = null); /// /// WithProxy using . /// /// The ProxyAndRecordSettings. /// A . IResponseBuilder WithProxy(ProxyAndRecordSettings settings); /// /// WithProxy using . /// /// The proxy url. /// The X509Certificate2. /// A . IResponseBuilder WithProxy(string proxyUrl, X509Certificate2 certificate); }