Platforms to show: All Mac Windows Linux Cross-Platform

NSURLSessionMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Cocoa Networking MBS MacFrameworks Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes All
An object that coordinates a group of related, network data-transfer tasks.

Read more on Apple's website:

MBS Plugin implements all delegates within NSURLSessionMBS class, so you can subclass it and fill events.

Auth Challenge Disposition Modes

Constant Value Description
AuthChallengeCancelAuthenticationChallenge 2 The entire request will be canceled; the credential parameter is ignored.
AuthChallengePerformDefaultHandling 1 Default handling for the challenge - as if this delegate were not implemented; the credential parameter is ignored.
AuthChallengeRejectProtectionSpace 3 This challenge is rejected and the next authentication protection space should be tried; the credential parameter is ignored.
AuthChallengeUseCredential 0 Use the specified credential, which may be nil

Delayed Request Disposition

Constant Value Description
DelayedRequestCancel 2 Cancel the task; the request parameter is ignored.
DelayedRequestContinueLoading 0 Use the original request provided when the task was created; the request parameter is ignored.
DelayedRequestUseNewRequest 1 Use the specified request, which may not be nil.

Response Disposition

Constant Value Description
ResponseAllow 1 Allow the load operation to continue.
ResponseBecomeDownload 2 Convert the response for this request to use a NSURLSessionDownloadTaskMBS.
ResponseBecomeStream 3 Convert the response for this request to use a NSURLSessionStreamTaskMBS.
ResponseCancel 0 Cancel the load.

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 MacFrameworks Plugin.

NSURLSessionDownloadTaskMBS   -   NSURLSessionStreamTaskMBS

The biggest plugin in space...