MonobjcMonobjc Documented Class Library
DownloadWillSendRequestRedirectResponse Event
NamespacesMonobjc.FoundationNSURLDownload..::..NSURLDownloadDelegateEventDispatcherDownloadWillSendRequestRedirectResponse

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 BasicVisual C++
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)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)