Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSURLSessionStreamTaskMBS class.

NSURLSessionStreamTaskMBS.NSURLSessionStreamTaskReadDataCompletedMBS(streamTask as NSURLSessionStreamTaskMBS, data as MemoryBlock, atEOF as Boolean, 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
The completion handler to call when all bytes are read, or an error occurs.

data: The data read from the stream.
atEOF: Whether or not the stream reached end-of-file (EOF), such that no more data can be read.
error: An error object that indicates why the read failed, or nil if the read was successful.

Some methods using this delegate:

  • NSURLSessionStreamTaskMBS.readData(minBytes as Integer, maxBytes as Integer, timeout as Double, Handler as NSURLSessionStreamTaskReadDataCompletedMBS, tag as variant = nil)

The items on this page are in the following plugins: MBS MacFrameworks Plugin.


The biggest plugin in space...