JubeatPlus 3.9.11
Loading...
Searching...
No Matches
Downloader_Protected.h
Go to the documentation of this file.
1
10
11#import <Foundation/Foundation.h>
12
13#import "Downloader.h"
14
15NS_ASSUME_NONNULL_BEGIN
16
20@interface Downloader () {
21@public
23 NSURLRequest *request; // offset global 0x34a36c
25 NSURLSession *session; // offset global 0x34a378
27 NSURLSessionTask *sessionTask; // offset global 0x34a37c
29 NSMutableData *data; // offset global 0x34a380
31 int64_t dl_size; // offset global 0x34a384
32 // Weak, from the objc_storeWeak at 0xa7e60 and every clear at 0xa83c4/0xa889c via 0x27cf74, and
33 // every read via objc_loadWeakRetained. The encoding is a bare @ and records none of that.
35 __weak id<DownloaderDelegate> delegate; // offset global 0x34a370
37 int _tag; // offset global 0x34a374
38}
39@end
40
41NS_ASSUME_NONNULL_END
42
43// code: language=Objective-C
44// kate: hl Objective-C;
45// vim: set ft=objc :
The HTTP client.
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