refactor(IHttpClientOptions): Konvertiert Typ der Header von Key Value Pair Liste zu Dictionary.
This commit is contained in:
parent
e53813500a
commit
e9b2ba788f
@ -6,8 +6,8 @@
|
|||||||
|
|
||||||
string? Path { get; init; }
|
string? Path { get; init; }
|
||||||
|
|
||||||
IEnumerable<KeyValuePair<string, object>>? Headers { get; init; }
|
Dictionary<string, object>? Headers { get; init; }
|
||||||
|
|
||||||
IEnumerable<KeyValuePair<string, object?>>? QueryParams { get; init; }
|
Dictionary<string, object?>? QueryParams { get; init; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -103,7 +103,7 @@ namespace DigitalData.Core.Client
|
|||||||
}
|
}
|
||||||
|
|
||||||
var requestUri = uriBuilder.Uri;
|
var requestUri = uriBuilder.Uri;
|
||||||
Console.WriteLine(requestUri);
|
|
||||||
var requestMessage = new HttpRequestMessage(method, requestUri);
|
var requestMessage = new HttpRequestMessage(method, requestUri);
|
||||||
|
|
||||||
// Add headers if provided
|
// Add headers if provided
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user