shouldInterceptAjaxRequest method
Event fired when an XMLHttpRequest
is sent to a server.
It gives the host application a chance to take control over the request before sending it.
ajaxRequest
represents the XMLHttpRequest
.
NOTE: In order to be able to listen this event, you need to set InAppWebViewOptions.useShouldInterceptAjaxRequest
option to true
.
Implementation
Future<AjaxRequest?>? shouldInterceptAjaxRequest(AjaxRequest ajaxRequest) {
return null;
}