revert: IHttpClientOptions entfernen

This commit is contained in:
Developer 02
2024-11-25 11:03:15 +01:00
parent 52a7664e57
commit f602a842be
4 changed files with 22 additions and 7 deletions

View File

@@ -0,0 +1,13 @@
namespace DigitalData.Core.Abstractions.Client
{
public interface IHttpClientOptions
{
string Uri { get; init; }
string? Path { get; init; }
IEnumerable<KeyValuePair<string, object>>? Headers { get; init; }
IEnumerable<KeyValuePair<string, object?>>? QueryParams { get; init; }
}
}

View File

@@ -1,6 +1,6 @@
namespace DigitalData.Core.Abstractions.Client
{
public interface IHttpClientService<TClientOptions> : IBaseHttpClientService
public interface IHttpClientService<TClientOptions> : IBaseHttpClientService where TClientOptions : IHttpClientOptions
{
}
}