Developer 02 0c2334cefb refactor(BaseHttpClientService): Der Wert von query params wurde zum nullbaren Objekt, um Flag-Parameter hinzuzufügen.
- Aktualisierte Schnittstelle und Logik unter Berücksichtigung dieser Situation
2024-11-22 14:35:22 +01:00

24 lines
693 B
C#

using System.Net;
namespace DigitalData.Core.Abstractions.Client
{
public interface IBaseHttpClientService
{
string Uri { get; init; }
CookieCollection GetCookies(string path = "");
Task<HttpResponseMessage> FetchAsync(
string? scheme = null,
int? port = null,
string path = "",
Dictionary<string, object?>? queryParams = null,
HttpMethod? method = null,
HttpContent? body = null,
Dictionary<string, string>? form = null,
Dictionary<string, string>? headers = null,
bool sendWithCookie = true,
bool saveCookie = true
);
}
}