dotnet/maui

Add a property on WebView to set additional headers

Open

#7920 aperta il 10 giu 2022

Vedi su GitHub
 (18 commenti) (14 reazioni) (0 assegnatari)C# (1951 fork)batch import
area-controls-webviewgood first issueproposal/opent/enhancement ☀️

Metriche repository

Star
 (23.245 star)
Metriche merge PR
 (Merge medio 47g 9h) (248 PR mergiate in 30 g)

Descrizione

Description

On the platform specific WebView you can launch the browser view with some additional headers set (for example for authentication). Maui WebView doesn't have this capability at the moment and you must override handlers mapping for each platform

Public API Changes

<WebView Source={Binding Url} Headers={Binding Headers} />

Intended Use-Case

Simplify webview automatic authentication

Guida contributor