BlazorWebView.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.
virtual bool Microsoft.Maui.IWebRequestInterceptingWebView.WebResourceRequested(Microsoft::Maui::WebResourceRequestedEventArgs ^ args) = Microsoft::Maui::IWebRequestInterceptingWebView::WebResourceRequested;
bool IWebRequestInterceptingWebView.WebResourceRequested(Microsoft.Maui.WebResourceRequestedEventArgs args);
abstract member Microsoft.Maui.IWebRequestInterceptingWebView.WebResourceRequested : Microsoft.Maui.WebResourceRequestedEventArgs -> bool
override this.Microsoft.Maui.IWebRequestInterceptingWebView.WebResourceRequested : Microsoft.Maui.WebResourceRequestedEventArgs -> bool
Function WebResourceRequested (args As WebResourceRequestedEventArgs) As Boolean Implements IWebRequestInterceptingWebView.WebResourceRequested
Parameters
The event arguments containing the request details.
Returns
true
if the request was handled; otherwise, false
.