AVAssetDownloadDelegate.WillPerformHttpRedirection Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- task
- NSUrlSessionTask
- response
- NSHttpUrlResponse
- newRequest
- NSUrlRequest
- completionHandler
- Action<NSUrlRequest>
- Attributes