dotnet/maui

Add a property on WebView to set additional headers

Open

#7,920 创建于 2022年6月10日

在 GitHub 查看
 (18 评论) (14 反应) (0 负责人)C# (1,951 fork)batch import
area-controls-webviewgood first issueproposal/opent/enhancement ☀️

仓库指标

Star
 (23,245 star)
PR 合并指标
 (平均合并 47天 9小时) (30 天内合并 248 个 PR)

描述

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

贡献者指南