onAjaxProgress method

Future<AjaxRequestAction?>? onAjaxProgress(
  1. AjaxRequest ajaxRequest
)
inherited

Event fired as an XMLHttpRequest progress. It gives the host application a chance to abort the request.

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<AjaxRequestAction?>? onAjaxProgress(AjaxRequest ajaxRequest) {
  return null;
}