CoreWebView2WebResourceRequestedEventArgs.Response 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 or sets the CoreWebView2WebResourceResponse object.
public System.Net.Http.HttpResponseMessage Response { get; set; }
public Microsoft.Web.WebView2.Core.CoreWebView2WebResourceResponse Response { get; set; }
member this.Response : System.Net.Http.HttpResponseMessage with get, set
member this.Response : Microsoft.Web.WebView2.Core.CoreWebView2WebResourceResponse with get, set
Public Property Response As HttpResponseMessage
Public Property Response As CoreWebView2WebResourceResponse
Property Value
Remarks
If this object is set, the WebResourceRequested event will be completed with this Response. An empty CoreWebView2WebResourceResponse object can be created with CreateWebResourceResponse(Stream, Int32, String, String) and then modified to construct the Response.