[AFHTTPSessionManager manager]; @property (nullable, readonly, retain) id <NSURLSessionDelegate> delegate;
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
/* * Customization of NSURLSession occurs during creation of a new session. * If you only need to use the convenience routines with custom * configuration options it is not necessary to specify a delegate. * If you do specify a delegate, the delegate will be retained until after * the delegate has been sent the URLSession:didBecomeInvalidWithError: message. */ //+ (NSURLSession *)sessionWithConfiguration:(NSURLSessionConfiguration *)configuration;