Platforms to show: All Mac Windows Linux Cross-Platform

NSURLSessionMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Cocoa Networking MBS MacFrameworks Plugin 20.2 Yes Yes Yes Yes No
Function: An object that coordinates a group of related, network data-transfer tasks.
Notes:
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.

Feedback, Comments & Corrections

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 which use this class:

Blog Entries


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


NSURLSessionDownloadTaskMBS   -   NSURLSessionStreamTaskMBS

The biggest plugin in space...




Links
MBS Xojo Plugins