mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-05-02 13:14:12 +02:00
Remove interface for all Settings (#736)
This commit is contained in:
@@ -7,7 +7,7 @@ namespace WireMock.Http
|
||||
{
|
||||
internal static class HttpClientBuilder
|
||||
{
|
||||
public static HttpClient Build(IHttpClientSettings settings)
|
||||
public static HttpClient Build(HttpClientSettings settings)
|
||||
{
|
||||
#if NETSTANDARD || NETCOREAPP3_1 || NET5_0 || NET6_0
|
||||
var handler = new HttpClientHandler
|
||||
|
||||
@@ -19,9 +19,9 @@ namespace WireMock.Http
|
||||
{
|
||||
private const string ClientIp = "::1";
|
||||
|
||||
private readonly IWireMockServerSettings _settings;
|
||||
private readonly WireMockServerSettings _settings;
|
||||
|
||||
public WebhookSender(IWireMockServerSettings settings)
|
||||
public WebhookSender(WireMockServerSettings settings)
|
||||
{
|
||||
_settings = settings ?? throw new ArgumentNullException(nameof(settings));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user