NSURLSessionMBS 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

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:
https://developer.apple.com/documentation/foundation/nsurlsession

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


💬 Ask a question or report a problem