feat(BaseHttpClientService.FetchAsync): Schema-, Port-, Pfad- und Query-Parameter-Optionen hinzugefügt

This commit is contained in:
Developer 02
2024-11-22 10:12:40 +01:00
parent e44b2895c9
commit 48afa6b433
2 changed files with 30 additions and 7 deletions

View File

@@ -4,12 +4,15 @@ namespace DigitalData.Core.Abstractions.Client
{
public interface IBaseHttpClientService
{
public string Uri { get; init; }
string Uri { get; init; }
public CookieCollection GetCookies(string route = "");
CookieCollection GetCookies(string route = "");
Task<HttpResponseMessage> FetchAsync(
string route = "",
string? scheme = null,
int? port = null,
string? path = null,
Dictionary<string, string>? queryParams = null,
HttpMethod? method = null,
HttpContent? body = null,
Dictionary<string, string>? form = null,