interceptOnlyAsyncAjaxRequests property

bool? interceptOnlyAsyncAjaxRequests
getter/setter pair

Set to false to be able to listen to also sync XMLHttpRequests at the PlatformWebViewCreationParams.shouldInterceptAjaxRequest event.

NOTE: Using false will cause the XMLHttpRequest.send() method for sync requests to not wait on the JavaScript code the response synchronously, as if it was an async XMLHttpRequest.

Officially Supported Platforms/Implementations:

  • Android native WebView
  • iOS
  • MacOS

Implementation

bool? interceptOnlyAsyncAjaxRequests;