Up

NSURLSession documentation

Authors

Hugo Melder (hugo@algoriddim.com)

Date: Generated at 2024-11-07 16:52:01 -0500

Copyright: (C) 2017-2024 Free Software Foundation, Inc.


Contents -

  1. Software documentation for the NSURLSessionConfiguration class
  2. Software documentation for the NSURLSessionDataTask class
  3. Software documentation for the NSURLSessionDownloadTask class
  4. Software documentation for the NSURLSessionStreamTask class
  5. Software documentation for the NSURLSessionTask class
  6. Software documentation for the NSURLSessionUploadTask class
  7. Software documentation for the NSURLSessionDataDelegate protocol
  8. Software documentation for the NSURLSessionDelegate protocol
  9. Software documentation for the NSURLSessionDownloadDelegate protocol
  10. Software documentation for the NSURLSessionTaskDelegate protocol

Software documentation for the NSURLSessionConfiguration class

NSURLSessionConfiguration : NSObject

class_NSURLSessionConfiguration NSObject NSObject NSURLSessionConfiguration NSURLSessionConfiguration NSObject->NSURLSessionConfiguration p_NSCopying NSCopying p_NSCopying->NSURLSessionConfiguration
Declared in:
Foundation/NSURLSession.h
Conforms to:
NSCopying
Availability: MacOS-X 10.9.0

Description forthcoming.

Instance Variables

Method summary

backgroundSessionConfigurationWithIdentifier: 

+ (NSURLSessionConfiguration*) backgroundSessionConfigurationWithIdentifier: (NSString*)identifier;
Availability: MacOS-X 10.9.0

Description forthcoming.

defaultSessionConfiguration 

+ (NSURLSessionConfiguration*) defaultSessionConfiguration;
Availability: MacOS-X 10.9.0

Description forthcoming.

ephemeralSessionConfiguration 

+ (NSURLSessionConfiguration*) ephemeralSessionConfiguration;
Availability: MacOS-X 10.9.0

Description forthcoming.

HTTPAdditionalHeaders 

- (nullable NSDictionary*) HTTPAdditionalHeaders;
Availability: MacOS-X 10.9.0

Description forthcoming.

HTTPCookieAcceptPolicy 

- (NSHTTPCookieAcceptPolicy) HTTPCookieAcceptPolicy;
Availability: MacOS-X 10.9.0

Description forthcoming.

HTTPCookieStorage 

- (nullable NSHTTPCookieStorage*) HTTPCookieStorage;
Availability: MacOS-X 10.9.0

Description forthcoming.

HTTPMaximumConnectionLifetime 

- (NSInteger) HTTPMaximumConnectionLifetime;
Availability: MacOS-X 10.9.0

Permits a session to be configured so that older connections are reused. A value of zero or less uses the default behavior where connections are reused as long as they are not older than 118 seconds, which is reasonable for the vast majority if situations.

HTTPMaximumConnectionsPerHost 

- (NSInteger) HTTPMaximumConnectionsPerHost;
Availability: MacOS-X 10.9.0

Description forthcoming.

HTTPShouldSetCookies 

- (BOOL) HTTPShouldSetCookies;
Availability: MacOS-X 10.9.0

Indicates whether the session should set cookies. This property controls whether tasks within sessions based on this configuration should automatically include cookies from the shared cookie store when making requests. If set to NO, you must manually provide cookies by adding a Cookie header through the session's HTTPAdditionalHeaders property or on a per-request basis using a custom NSURLRequest object. The default value is YES. See Also: - HTTPCookieAcceptPolicy - HTTPCookieStorage - NSHTTPCookieStorage - NSHTTPCookie

HTTPShouldUsePipelining 

- (BOOL) HTTPShouldUsePipelining;
Availability: MacOS-X 10.9.0

HTTP/1.1 pipelining is not implemented. This flag is ignored.

URLCache 

- (nullable NSURLCache*) URLCache;
Availability: MacOS-X 10.9.0

Description forthcoming.

URLCredentialStorage 

- (nullable NSURLCredentialStorage*) URLCredentialStorage;
Availability: MacOS-X 10.9.0

Description forthcoming.

configureRequest: 

- (NSURLRequest*) configureRequest: (NSURLRequest*)request;
Availability: MacOS-X 10.9.0

Description forthcoming.

identifier 

- (nullable NSString*) identifier;
Availability: MacOS-X 10.9.0

Description forthcoming.

protocolClasses 

- (nullable NSArray*) protocolClasses;
Availability: MacOS-X 10.9.0

Description forthcoming.

requestCachePolicy 

- (NSURLRequestCachePolicy) requestCachePolicy;
Availability: MacOS-X 10.9.0

Description forthcoming.

setHTTPAdditionalHeaders: 

- (void) setHTTPAdditionalHeaders: (NSDictionary*)headers;
Availability: MacOS-X 10.9.0

Description forthcoming.

setHTTPCookieAcceptPolicy: 

- (void) setHTTPCookieAcceptPolicy: (NSHTTPCookieAcceptPolicy)policy;
Availability: MacOS-X 10.9.0

Description forthcoming.

setHTTPCookieStorage: 

- (void) setHTTPCookieStorage: (NSHTTPCookieStorage*)storage;
Availability: MacOS-X 10.9.0

Description forthcoming.

setHTTPMaximumConnectionLifetime: 

- (void) setHTTPMaximumConnectionLifetime: (NSInteger)n;
Availability: MacOS-X 10.9.0

Description forthcoming.

setHTTPMaximumConnectionsPerHost: 

- (void) setHTTPMaximumConnectionsPerHost: (NSInteger)n;
Availability: MacOS-X 10.9.0

Description forthcoming.

setHTTPShouldSetCookies: 

- (void) setHTTPShouldSetCookies: (BOOL)flag;
Availability: MacOS-X 10.9.0

Sets whether the session should set cookies. This method controls whether tasks within sessions based on this configuration should automatically include cookies from the shared cookie store when making requests. If set to NO, you must manually provide cookies by adding a Cookie header through the session's HTTPAdditionalHeaders property or on a per-request basis using a custom NSURLRequest object. The default value is YES. See Also: - HTTPCookieAcceptPolicy - HTTPCookieStorage - NSHTTPCookieStorage - NSHTTPCookie

setHTTPShouldUsePipelining: 

- (void) setHTTPShouldUsePipelining: (BOOL)flag;
Availability: MacOS-X 10.9.0

Description forthcoming.

setRequestCachePolicy: 

- (void) setRequestCachePolicy: (NSURLRequestCachePolicy)policy;
Availability: MacOS-X 10.9.0

Description forthcoming.

setTimeoutIntervalForRequest: 

- (void) setTimeoutIntervalForRequest: (NSTimeInterval)interval;
Availability: MacOS-X 10.9.0

Sets the timeout interval to use when waiting for additional data to arrive.

setTimeoutIntervalForResource: 

- (void) setTimeoutIntervalForResource: (NSTimeInterval)interval;
Availability: MacOS-X 10.9.0

Sets the maximum amount of time that a resource request should be allowed to take.

setURLCache: 

- (void) setURLCache: (NSURLCache*)cache;
Availability: MacOS-X 10.9.0

Description forthcoming.

setURLCredentialStorage: 

- (void) setURLCredentialStorage: (NSURLCredentialStorage*)storage;
Availability: MacOS-X 10.9.0

Description forthcoming.

timeoutIntervalForRequest 

- (NSTimeInterval) timeoutIntervalForRequest;
Availability: MacOS-X 10.9.0

Gets the timeout interval to use when waiting for additional data to arrive. The request timeout interval controls how long (in seconds) a task should wait for additional data to arrive before giving up. The timer is reset whenever new data arrives. When the request timer reaches the specified interval without receiving any new data, it triggers a timeout. Currently not used by NSURLSession.

timeoutIntervalForResource 

- (NSTimeInterval) timeoutIntervalForResource;
Availability: MacOS-X 10.9.0

Gets the maximum amount of time that a resource request should be allowed to take. The resource timeout interval controls how long (in seconds) to wait for an entire resource to transfer before giving up. The resource timer starts when the request is initiated and counts until either the request completes or this timeout interval is reached, whichever comes first.



Instance Variables for NSURLSessionConfiguration Class

_HTTPAdditionalHeaders

@protected NSDictionary* _HTTPAdditionalHeaders;
Availability: MacOS-X 10.9.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_HTTPCookieAcceptPolicy

@protected NSHTTPCookieAcceptPolicy _HTTPCookieAcceptPolicy;
Availability: MacOS-X 10.9.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_HTTPCookieStorage

@protected NSHTTPCookieStorage* _HTTPCookieStorage;
Availability: MacOS-X 10.9.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_HTTPMaximumConnectionLifetime

@protected NSInteger _HTTPMaximumConnectionLifetime;
Availability: MacOS-X 10.9.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_HTTPMaximumConnectionsPerHost

@protected NSInteger _HTTPMaximumConnectionsPerHost;
Availability: MacOS-X 10.9.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_HTTPShouldSetCookies

@protected BOOL _HTTPShouldSetCookies;
Availability: MacOS-X 10.9.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_HTTPShouldUsePipelining

@protected BOOL _HTTPShouldUsePipelining;
Availability: MacOS-X 10.9.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_URLCache

@protected NSURLCache* _URLCache;
Availability: MacOS-X 10.9.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_URLCredentialStorage

@protected NSURLCredentialStorage* _URLCredentialStorage;
Availability: MacOS-X 10.9.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_identifier

@protected NSString* _identifier;
Availability: MacOS-X 10.9.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_protocolClasses

@protected NSArray* _protocolClasses;
Availability: MacOS-X 10.9.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_requestCachePolicy

@protected NSURLRequestCachePolicy _requestCachePolicy;
Availability: MacOS-X 10.9.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_timeoutIntervalForRequest

@protected NSTimeInterval _timeoutIntervalForRequest;
Availability: MacOS-X 10.9.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_timeoutIntervalForResource

@protected NSTimeInterval _timeoutIntervalForResource;
Availability: MacOS-X 10.9.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.




Software documentation for the NSURLSessionDataTask class

NSURLSessionDataTask : NSURLSessionTask

class_NSURLSessionDataTask NSURLSessionTask NSURLSessionTask NSURLSessionDataTask NSURLSessionDataTask NSURLSessionTask->NSURLSessionDataTask
Declared in:
Foundation/NSURLSession.h
Availability: MacOS-X 10.9.0

Description forthcoming.

Instance Variables



Instance Variables for NSURLSessionDataTask Class

_completionHandler

@protected void* _completionHandler;
Availability: MacOS-X 10.9.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.




Software documentation for the NSURLSessionDownloadTask class

NSURLSessionDownloadTask : NSURLSessionTask

class_NSURLSessionDownloadTask NSURLSessionTask NSURLSessionTask NSURLSessionDownloadTask NSURLSessionDownloadTask NSURLSessionTask->NSURLSessionDownloadTask
Declared in:
Foundation/NSURLSession.h
Availability: MacOS-X 10.9.0

Description forthcoming.

Instance Variables



Instance Variables for NSURLSessionDownloadTask Class

_completionHandler

@protected void* _completionHandler;
Availability: MacOS-X 10.9.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_countOfBytesWritten

@protected int64_t _countOfBytesWritten;
Availability: MacOS-X 10.9.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.




Software documentation for the NSURLSessionStreamTask class

NSURLSessionStreamTask : NSURLSessionTask

class_NSURLSessionStreamTask NSURLSessionTask NSURLSessionTask NSURLSessionStreamTask NSURLSessionStreamTask NSURLSessionTask->NSURLSessionStreamTask
Declared in:
Foundation/NSURLSession.h
Availability: MacOS-X 10.11.0

Description forthcoming.

Software documentation for the NSURLSessionTask class

NSURLSessionTask : NSObject

class_NSURLSessionTask NSObject NSObject NSURLSessionTask NSURLSessionTask NSObject->NSURLSessionTask p_NSProgressReporting NSProgressReporting p_NSProgressReporting->NSURLSessionTask p_NSCopying NSCopying p_NSCopying->NSURLSessionTask
Declared in:
Foundation/NSURLSession.h
Conforms to:
NSCopying
NSProgressReporting
Availability: MacOS-X 10.9.0

Description forthcoming.

Instance Variables

Method summary

cancel 

- (void) cancel;
Availability: MacOS-X 10.9.0

Cancels the task and the ongoing transfer.

countOfBytesClientExpectsToReceive 

- (int64_t) countOfBytesClientExpectsToReceive;
Availability: MacOS-X 10.9.0

Description forthcoming.

countOfBytesClientExpectsToSend 

- (int64_t) countOfBytesClientExpectsToSend;
Availability: MacOS-X 10.9.0

Description forthcoming.

countOfBytesExpectedToReceive 

- (int64_t) countOfBytesExpectedToReceive;
Availability: MacOS-X 10.9.0

Description forthcoming.

countOfBytesExpectedToSend 

- (int64_t) countOfBytesExpectedToSend;
Availability: MacOS-X 10.9.0

Description forthcoming.

countOfBytesReceived 

- (int64_t) countOfBytesReceived;
Availability: MacOS-X 10.9.0

Description forthcoming.

countOfBytesSent 

- (int64_t) countOfBytesSent;
Availability: MacOS-X 10.9.0

Description forthcoming.

currentRequest 

- (nullable NSURLRequest*) currentRequest;
Availability: MacOS-X 10.9.0

Description forthcoming.

delegate 

- (nullable id<NSURLSessionTaskDelegate>) delegate;
Availability: MacOS-X 10.9.0

Description forthcoming.

earliestBeginDate 

- (nullable NSDate*) earliestBeginDate;
Availability: MacOS-X 10.9.0

Description forthcoming.

error 

- (nullable NSError*) error;
Availability: MacOS-X 10.9.0

Description forthcoming.

originalRequest 

- (nullable NSURLRequest*) originalRequest;
Availability: MacOS-X 10.9.0

Description forthcoming.

priority 

- (float) priority;
Availability: MacOS-X 10.9.0

Description forthcoming.

progress 

- (NSProgress*) progress;
Availability: MacOS-X 10.9.0

Description forthcoming.

response 

- (nullable NSURLResponse*) response;
Availability: MacOS-X 10.9.0

Description forthcoming.

resume 

- (void) resume;
Availability: MacOS-X 10.9.0

Description forthcoming.

setDelegate: 

- (void) setDelegate: (nullable id<NSURLSessionTaskDelegate>)delegate;
Availability: MacOS-X 10.9.0

Description forthcoming.

setEarliestBeginDate: 

- (void) setEarliestBeginDate: (nullable NSDate*)date;
Availability: MacOS-X 10.9.0

Description forthcoming.

setPriority: 

- (void) setPriority: (float)priority;
Availability: MacOS-X 10.9.0

Description forthcoming.

setTaskDescription: 

- (void) setTaskDescription: (nullable NSString*)description;
Availability: MacOS-X 10.9.0

Sets an app-specific description of the task.

state 

- (NSURLSessionTaskState) state;
Availability: MacOS-X 10.9.0

Description forthcoming.

suspend 

- (void) suspend;
Availability: MacOS-X 10.9.0

Description forthcoming.

taskDescription 

- (nullable NSString*) taskDescription;
Availability: MacOS-X 10.9.0

App-specific description of the task.

taskIdentifier 

- (NSUInteger) taskIdentifier;
Availability: MacOS-X 10.9.0

Description forthcoming.



Instance Variables for NSURLSessionTask Class

_currentRequest

@protected NSURLRequest* _currentRequest;
Availability: MacOS-X 10.9.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_delegate

@protected id _delegate;
Availability: MacOS-X 10.9.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_earliestBeginDate

@protected NSDate* _earliestBeginDate;
Availability: MacOS-X 10.9.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_error

@protected NSError* _error;
Availability: MacOS-X 10.9.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_originalRequest

@protected NSURLRequest* _originalRequest;
Availability: MacOS-X 10.9.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_progress

@protected NSProgress* _progress;
Availability: MacOS-X 10.9.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_response

@protected NSURLResponse* _response;
Availability: MacOS-X 10.9.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_state

@protected NSURLSessionTaskState _state;
Availability: MacOS-X 10.9.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_taskDescription

@protected NSString* _taskDescription;
Availability: MacOS-X 10.9.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_taskIdentifier

@protected NSUInteger _taskIdentifier;
Availability: MacOS-X 10.9.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.




Software documentation for the NSURLSessionUploadTask class

NSURLSessionUploadTask : NSURLSessionDataTask

class_NSURLSessionUploadTask NSURLSessionDataTask NSURLSessionDataTask NSURLSessionUploadTask NSURLSessionUploadTask NSURLSessionDataTask->NSURLSessionUploadTask
Declared in:
Foundation/NSURLSession.h
Availability: MacOS-X 10.9.0

Description forthcoming.

Software documentation for the NSURLSessionDataDelegate protocol

NSURLSessionDataDelegate

Declared in:
Foundation/NSURLSession.h
Conforms to:
NSURLSessionTaskDelegate
Availability: MacOS-X 10.9.0

Description forthcoming.
Method summary

URLSession: dataTask: didReceiveData: 

- (void) URLSession: (NSURLSession*)session dataTask: (NSURLSessionDataTask*)dataTask didReceiveData: (NSData*)data;
Availability: MacOS-X 10.9.0

Description forthcoming.

URLSession: dataTask: didReceiveResponse: completionHandler: 

- (void) URLSession: (NSURLSession*)session dataTask: (NSURLSessionDataTask*)dataTask didReceiveResponse: (NSURLResponse*)response completionHandler: (void(^)(NSURLSessionResponseDisposition disposition))completionHandler;
Availability: MacOS-X 10.9.0

Informs the delegate of a response. This message is sent when all the response headers have arrived, before the body of the response arrives.

Software documentation for the NSURLSessionDelegate protocol

NSURLSessionDelegate

Declared in:
Foundation/NSURLSession.h
Conforms to:
NSObject
Availability: MacOS-X 10.9.0

Description forthcoming.
Method summary

URLSession: didBecomeInvalidWithError: 

- (void) URLSession: (NSURLSession*)session didBecomeInvalidWithError: (nullable NSError*)error;
Availability: MacOS-X 10.9.0

Description forthcoming.

URLSession: didReceiveChallenge: completionHandler: 

- (void) URLSession: (NSURLSession*)session didReceiveChallenge: (NSURLAuthenticationChallenge*)challenge completionHandler: (void(^)(NSURLSessionAuthChallengeDisposition disposition,NSURLCredential*credential))handler;
Availability: MacOS-X 10.9.0

Description forthcoming.

Software documentation for the NSURLSessionDownloadDelegate protocol

NSURLSessionDownloadDelegate

Declared in:
Foundation/NSURLSession.h
Conforms to:
NSURLSessionTaskDelegate
Availability: MacOS-X 10.9.0

Description forthcoming.
Method summary

URLSession: downloadTask: didFinishDownloadingToURL: 

- (void) URLSession: (NSURLSession*)session downloadTask: (NSURLSessionDownloadTask*)downloadTask didFinishDownloadingToURL: (NSURL*)location;
Availability: MacOS-X 10.9.0

Description forthcoming.

URLSession: downloadTask: didResumeAtOffset: expectedTotalBytes: 

- (void) URLSession: (NSURLSession*)session downloadTask: (NSURLSessionDownloadTask*)downloadTask didResumeAtOffset: (int64_t)fileOffset expectedTotalBytes: (int64_t)expectedTotalBytes;
Availability: MacOS-X 10.9.0

Description forthcoming.

URLSession: downloadTask: didWriteData: totalBytesWritten: totalBytesExpectedToWrite: 

- (void) URLSession: (NSURLSession*)session downloadTask: (NSURLSessionDownloadTask*)downloadTask didWriteData: (int64_t)bytesWritten totalBytesWritten: (int64_t)totalBytesWritten totalBytesExpectedToWrite: (int64_t)totalBytesExpectedToWrite;
Availability: MacOS-X 10.9.0

Description forthcoming.

Software documentation for the NSURLSessionTaskDelegate protocol

NSURLSessionTaskDelegate

Declared in:
Foundation/NSURLSession.h
Conforms to:
NSURLSessionDelegate
Availability: MacOS-X 10.9.0

Description forthcoming.
Method summary

URLSession: didCreateTask: 

- (void) URLSession: (NSURLSession*)session didCreateTask: (NSURLSessionTask*)task;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.

URLSession: task: didCompleteWithError: 

- (void) URLSession: (NSURLSession*)session task: (NSURLSessionTask*)task didCompleteWithError: (nullable NSError*)error;
Availability: MacOS-X 10.9.0

Description forthcoming.

URLSession: task: didReceiveChallenge: completionHandler: 

- (void) URLSession: (NSURLSession*)session task: (NSURLSessionTask*)task didReceiveChallenge: (NSURLAuthenticationChallenge*)challenge completionHandler: (void(^)(NSURLSessionAuthChallengeDisposition disposition,NSURLCredential*credential))handler;
Availability: MacOS-X 10.9.0

Description forthcoming.

URLSession: task: didSendBodyData: totalBytesSent: totalBytesExpectedToSend: 

- (void) URLSession: (NSURLSession*)session task: (NSURLSessionTask*)task didSendBodyData: (int64_t)bytesSent totalBytesSent: (int64_t)totalBytesSent totalBytesExpectedToSend: (int64_t)totalBytesExpectedToSend;
Availability: MacOS-X 10.9.0

Description forthcoming.

URLSession: task: needNewBodyStream: 

- (void) URLSession: (NSURLSession*)session task: (NSURLSessionTask*)task needNewBodyStream: (void(^)(NSInputStream*bodyStream))completionHandler;
Availability: MacOS-X 10.9.0

Description forthcoming.

URLSession: task: willPerformHTTPRedirection: newRequest: completionHandler: 

- (void) URLSession: (NSURLSession*)session task: (NSURLSessionTask*)task willPerformHTTPRedirection: (NSHTTPURLResponse*)response newRequest: (NSURLRequest*)request completionHandler: (void(^)(NSURLRequest*))completionHandler;
Availability: MacOS-X 10.9.0

Description forthcoming.


Up