Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSURLSessionMBS class.
NSURLSessionMBS.NSURLSessionDownloadTaskCompletedMBS(location as String, file as FolderItem, response as NSURLResponseMBS, error as NSErrorMBS, tag as variant)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
delegate | Cocoa Networking | MBS MacFrameworks Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
location: The location of a temporary file where the server’s response is stored. You must move this file or open it for reading before your completion handler returns. Otherwise, the file is deleted, and the data is lost.
response: An object that provides response metadata, such as HTTP headers and status code. If you are making an HTTP or HTTPS request, the returned object is actually an NSHTTPURLResponse object.
error: An error object that indicates why the request failed, or nil if the request was successful.
For your convenience we provide a folderitem for the location URL.
The items on this page are in the following plugins: MBS MacFrameworks Plugin.