NSURLConnectionMBS class

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

NSURLConnectionMBS class   Deprecated

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Cocoa Networking MBS MacBase Plugin 11.3 ✅ Yes ❌ No ❌ No ✅ Yes All
This item is deprecated and should no longer be used. You can use NSURLSessionMBS instead.
An NSURLConnection object provides support to perform the loading of a URL request.

The interface for NSURLConnection is sparse, providing only the controls to start and cancel asynchronous loads of a URL request.

NSURLConnection's events allow an object to receive informational callbacks about the asynchronous load of a URL request. Other events provide facilities that allow the subclass to customize the process of performing an asynchronous URL load. These events are called on the thread that started the asynchronous load operation for the associated NSURLConnection object.

NSURLConnection also has a convenience class method, sendSynchronousRequest, to load a URL request synchronously.

The following contract governs the events defined in this class:

Unless an NSURLConnection object receives a cancel message, the subclasses receives one and only one of DidFinishLoading, or didFailWithError message, but never both. In addition, once either of these messages is sent, the delegate receives no further messages for the connection.

This class has no sub classes.

Some examples using this class:

Blog Entries

Release notes


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


NSURLConnectionFilterMBS   -   NSURLCredentialMBS


💬 Ask a question or report a problem