shouldInterceptAjaxRequest method Null safety

Future<AjaxRequest?>? shouldInterceptAjaxRequest(
  1. AjaxRequest ajaxRequest

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.


Future<AjaxRequest?>? shouldInterceptAjaxRequest(AjaxRequest ajaxRequest) {}