Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSURLSessionMBS class.
NSURLSessionMBS.NSURLSessionDataTaskCompletedMBS(data as MemoryBlock, 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 |
data: The data returned by the server.
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 NSHTTPURLResponseMBS object.
error: An error object that indicates why the request failed, or nil if the request was successful.
Some methods using this delegate:
- NSURLSessionMBS.dataTaskWithRequest(request as NSURLRequestMBS, handler as NSURLSessionDataTaskCompletedMBS, tag as Variant = nil) as NSURLSessionDataTaskMBS
- NSURLSessionMBS.dataTaskWithURL(URL as String, handler as NSURLSessionDataTaskCompletedMBS, tag as Variant = nil) as NSURLSessionDataTaskMBS
The items on this page are in the following plugins: MBS MacFrameworks Plugin.