Sent when the download object determines that it must change URLs in order to continue loading a request.
Original signature is '- (NSURLRequest *)download:(NSURLDownload *)download willSendRequest:(NSURLRequest *)request redirectResponse:(NSURLResponse *)redirectResponse'
Available in Mac OS X v10.2 with Safari 1.0 installed and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public event NSURLDownload..::..DownloadWillSendRequestRedirectResponseEventHandler DownloadWillSendRequestRedirectResponse
Public Event DownloadWillSendRequestRedirectResponse As NSURLDownload..::..DownloadWillSendRequestRedirectResponseEventHandler
public: event NSURLDownload..::..DownloadWillSendRequestRedirectResponseEventHandler^ DownloadWillSendRequestRedirectResponse { void add (NSURLDownload..::..DownloadWillSendRequestRedirectResponseEventHandler^ value); void remove (NSURLDownload..::..DownloadWillSendRequestRedirectResponseEventHandler^ value); }
Return Value
The actual URL request to use in light of the redirection response. The delegate may copy and modify request as necessary to change its attributes, return request unmodified, or return nil.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)