Used to intercept resource requests in
HtmlToPdfConverter to allow providing custom data
for these resources.
If the source requires redirects, this method is called only for the initial base URL, not for the redirect URLs.
This method is called on the background thread.
nullto proceed with loading the resource as usual and
skipResource()to skip loading the resource.