fetchHtmlWithLazyLoading method
Future<LazyLoadResult>
fetchHtmlWithLazyLoading({
- required String url,
- LazyLoadConfig config = const LazyLoadConfig(),
- Map<
String, String> ? headers,
Fetches HTML content with lazy loading support
url
is the URL to fetch
config
is the lazy loading configuration
headers
are additional headers to send with the request
Implementation
Future<LazyLoadResult> fetchHtmlWithLazyLoading({
required String url,
LazyLoadConfig config = const LazyLoadConfig(),
Map<String, String>? headers,
}) async {
return lazyLoadHandler.handleLazyLoading(
url: url,
config: config,
headers: headers,
);
}