Invoked before a request is initiated for a resource and returns a possibly modified request.
Original signature is '- (NSURLRequest *)webView:(WebView *)sender resource:(id)identifier willSendRequest:(NSURLRequest *)request redirectResponse:(NSURLResponse *)redirectResponse fromDataSource:(WebDataSource *)dataSource'
Available in Mac OS X v10.2 with Safari 1.0 and later.

C# | Visual Basic | Visual C++ |
NSURLRequest WebViewResourceWillSendRequestRedirectResponseFromDataSource( WebView sender, Id identifier, NSURLRequest request, NSURLResponse redirectResponse, WebDataSource dataSource )
Function WebViewResourceWillSendRequestRedirectResponseFromDataSource ( _ sender As WebView, _ identifier As Id, _ request As NSURLRequest, _ redirectResponse As NSURLResponse, _ dataSource As WebDataSource _ ) As NSURLRequest
NSURLRequest^ WebViewResourceWillSendRequestRedirectResponseFromDataSource( WebView^ sender, Id^ identifier, NSURLRequest^ request, NSURLResponse^ redirectResponse, WebDataSource^ dataSource )

- sender (WebView)
- The web view that sent this message.
- identifier (Id)
- An identifier object used to track the resource being loaded by dataSource.
- request (NSURLRequest)
- The request that is sent.
- redirectResponse (NSURLResponse)
- The redirect server response. If nil, there is no redirect in progress.
- dataSource (WebDataSource)
- The data source for this web view.

A possibly modified request.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)