11#import <Foundation/Foundation.h>
15NS_ASSUME_NONNULL_BEGIN
A one-shot HTTP request that reports its result to a delegate.
Definition Downloader.h:52
__weak id< DownloaderDelegate > delegate
The object told how the request finished.
Definition Downloader_Protected.h:35
int64_t dl_size
The total byte count the response declared.
Definition Downloader_Protected.h:31
NSURLSessionTask * sessionTask
The task carrying the request.
Definition Downloader_Protected.h:27
int _tag
The caller's tag, distinguishing concurrent requests sharing one delegate.
Definition Downloader_Protected.h:37
NSMutableData * data
The response body accumulated so far.
Definition Downloader_Protected.h:29
NSURLSession * session
The session the request runs on.
Definition Downloader_Protected.h:25
NSURLRequest * request
The request being run.
Definition Downloader_Protected.h:23