Invoked before a request is initiated for a resource and returns a possibly modified request.
- macOS 10.2–10.14Deprecated
The web view that sent this message.
An identifier object used to track the resource being loaded by
The request that is sent.
The redirect server response. If
nil, there is no redirect in progress.
The data source for this web view.
A possibly modified request.
Delegates might implement this method to modify resource requests before they are sent. Note that this method might be invoked multiple times per load (as a result of a server redirect) where as the
web method is invoked once.