MonobjcMonobjc Documented Class Library
ConnectionWillSendRequestRedirectResponse Event
NamespacesMonobjc.FoundationNSURLConnection..::..NSURLConnectionDelegateEventDispatcherConnectionWillSendRequestRedirectResponse

Sent when the connection determines that it must change URLs in order to continue loading a request.

Original signature is '- (NSURLRequest *)connection:(NSURLConnection *)connection willSendRequest:(NSURLRequest *)request redirectResponse:(NSURLResponse *)redirectResponse'

Available in Mac OS X v10.2 with Safari 1.0 installed and later.

Declaration Syntax
Return Value
The actual URL request to use in light of the redirection response. The delegate may return request unmodified to allow the redirect, return a new request, or return nil to reject the redirect and continue processing the connection.
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)