Class CoreWebView2WebResourceRequest
An HTTP request used with the WebResourceRequested event.
public class CoreWebView2WebResourceRequest
- Inheritance
-
CoreWebView2WebResourceRequest
- Inherited Members
Properties
Content
Gets or sets the HTTP request message body as stream.
public Stream Content { get; set; }
Property Value
Remarks
POST data should be here. If a stream is set, which overrides the message body, the stream must have all the content data available by the time the WebResourceRequested event deferral of this request is completed. Stream should be agile or be created from a background STA to prevent performance impact to the UI thread. null
means no content data.
- See Also
Headers
Gets the mutable HTTP request headers.
public CoreWebView2HttpRequestHeaders Headers { get; }
Property Value
Method
Gets or sets the HTTP request method.
public string Method { get; set; }
Property Value
Uri
Gets or sets the request URI.
public string Uri { get; set; }