CoreWebView2NavigationStartingEventArgs.RequestHeaders Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the HTTP request headers for the navigation.
public System.Net.Http.Headers.HttpRequestHeaders RequestHeaders { get; }
public Microsoft.Web.WebView2.Core.CoreWebView2HttpRequestHeaders RequestHeaders { get; }
member this.RequestHeaders : System.Net.Http.Headers.HttpRequestHeaders
member this.RequestHeaders : Microsoft.Web.WebView2.Core.CoreWebView2HttpRequestHeaders
Public ReadOnly Property RequestHeaders As HttpRequestHeaders
Public ReadOnly Property RequestHeaders As CoreWebView2HttpRequestHeaders
Property Value
Remarks
Note, you are not able to modify the HTTP request headers in a NavigationStarting event.