IWebRequestInterceptingWebView.WebResourceRequested Method
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.
Invoked when a web resource is requested. This event can be used to intercept requests and provide custom responses.
public:
virtual bool WebResourceRequested(Microsoft::Maui::WebResourceRequestedEventArgs ^ args);
public virtual bool WebResourceRequested(Microsoft.Maui.WebResourceRequestedEventArgs args);
abstract member WebResourceRequested : Microsoft.Maui.WebResourceRequestedEventArgs -> bool
override this.WebResourceRequested : Microsoft.Maui.WebResourceRequestedEventArgs -> bool
Public Overridable Function WebResourceRequested (args As WebResourceRequestedEventArgs) As Boolean
Parameters
The event arguments containing the request details.
Returns
true
if the request was handled; otherwise, false
.