Partilhar via


CoreWebView2NavigationStartingEventArgs.RequestHeaders Property

Definition

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.

Applies to

See also