dotnet/maui

Add a property on WebView to set additional headers

Open

#7,920 opened on Jun 10, 2022

View on GitHub
 (18 comments) (14 reactions) (0 assignees)C# (1,951 forks)batch import
area-controls-webviewgood first issueproposal/opent/enhancement ☀️

Repository metrics

Stars
 (23,245 stars)
PR merge metrics
 (Avg merge 47d 9h) (248 merged PRs in 30d)

Description

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

Contributor guide