feat(IHttpClientOptions): Abfrage-Parameter und Header hinzugefügt.

- Geordnete DI-Erweiterungen.
This commit is contained in:
Developer 02
2024-11-25 10:30:33 +01:00
parent 997fd533ac
commit c65eefb954
4 changed files with 17 additions and 28 deletions

View File

@@ -2,8 +2,12 @@
{
public interface IHttpClientOptions
{
public string Uri { get; set; }
string Uri { get; init; }
public string Path { get; set; }
string? Path { get; init; }
IEnumerable<KeyValuePair<string, object>>? Headers { get; init; }
IEnumerable<KeyValuePair<string, object?>>? QueryParams { get; init; }
}
}