Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSURLConnectionMBS class.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Networking | MBS MacBase Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
After this method is called, the connection's delegate no longer receives any messages for the connection. If you want to reattempt the connection, you should create a new connection object.
NSURLConnectionMBS.Constructor(request as NSURLRequestMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Networking | MBS MacBase Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
request: The URL request to load. The request object is deep-copied as part of the initialization process. Changes made to request after this method returns do not affect the request that is used for the loading process.
On success handle property is not zero.
This is equivalent to calling Constructor and passing true for optional startImmediately.
See also:
NSURLConnectionMBS.Constructor(request as NSURLRequestMBS, startImmediately as boolean)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Networking | MBS MacBase Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
request: The URL request to load. The request object is deep-copied as part of the initialization process. Changes made to request after this method returns do not affect the request that is used for the loading process.
startImmediately: True if the connection should being loading data immediately, otherwise false.
On success the handle property is not zero.
Available in Mac OS X v10.5 and later.
See also:
NSURLConnectionMBS.data as MemoryBlock
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Networking | MBS MacBase Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The plugin adds the new data it gets in the didReceiveData event to a big memoryblock and gives you access to it using this event.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Networking | MBS MacBase Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Calling this method is necessary only if you create a connection with the Constructor method and provide false for the startImmediately parameter.
Available in Mac OS X v10.5 and later.
The items on this page are in the following plugins: MBS MacBase Plugin.