HttpClient behandelt Anfragen im Hintergrund und es darf nicht an die Lebenszeit der Activity gebunden sein.
The HttpClient handles requests that run in the background and it should not be tied to the activity life cycle.
Der HttpClient ist im Microsoft.Rest.ServiceClient, der von Autorest verwendet wird, als geschützt gekennzeichnet.
The HttpClient is marked as protected in the Microsoft.Rest.ServiceClient that is used by Autorest.
Sie können diese Ziele mit Funktionen wie WLResourceRequest erreichen oder mit einer eigenen Instanz von HttpClient, falls Sie mehr Flexibilität benötigen.
You can achieve these goals by using functions such as WLClient.invokeProcedure or your own instance of an HttpClient if you need more flexibility.
Bitte beachtet, dass ich ein Update gepostet habe, das den neuen HttpClient verwendet.
Please note that I've have posted an update of the client that uses the shiny new HttpClient.
httpClient Fehler: Für das Unicode-Zeichen ist kein zugeordnetes Zeichen in der Mehrbytecodepage vorhanden.
No mapping for the Unicode character exists in the target multi-byte code page.
Aber Sie müssen den HttpClient verwenden, der vom Blazor-Framework wie hier beschrieben injiziert wird
But you have to use the HttpClient that is injected by the blazor framework as described here
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.