AVAssetDownloadDelegate.WillPerformHttpRedirection(NSUrlSession, NSUrlSessionTask, NSHttpUrlResponse, NSUrlRequest, Action<NSUrlRequest>) Method

Definition

Method that is called when the server requests a redirect.

[Foundation.Export("URLSession:task:willPerformHTTPRedirection:newRequest:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void WillPerformHttpRedirection (Foundation.NSUrlSession session, Foundation.NSUrlSessionTask task, Foundation.NSHttpUrlResponse response, Foundation.NSUrlRequest newRequest, Action<Foundation.NSUrlRequest> completionHandler);
abstract member WillPerformHttpRedirection : Foundation.NSUrlSession * Foundation.NSUrlSessionTask * Foundation.NSHttpUrlResponse * Foundation.NSUrlRequest * Action<Foundation.NSUrlRequest> -> unit
override this.WillPerformHttpRedirection : Foundation.NSUrlSession * Foundation.NSUrlSessionTask * Foundation.NSHttpUrlResponse * Foundation.NSUrlRequest * Action<Foundation.NSUrlRequest> -> unit

Parameters

session
NSUrlSession
newRequest
NSUrlRequest
completionHandler
Action<NSUrlRequest>
Attributes

Applies to