Go to the source code of this file.
◆ _Class
◆ _URLSessionConfiguration()
| Class * _URLSessionConfiguration |
( |
void |
| ) |
|
Definition at line 62 of file URLSessionConfiguration.c.
62 {
65
68 .name = "URLSessionConfiguration",
72 .interfaceSize = sizeof(URLSessionConfigurationInterface),
74 });
75 });
76
77 return clazz;
78}
Class * _initialize(const ClassDef *def)
Initializes the given Class.
static void initialize(Class *clazz)
#define do_once(once, block)
Executes the given block at most one time.
ClassDefs are passed to _initialize via an archetype to initialize a Class.
The runtime representation of a Class.
Configuration bundle for URLSession.
◆ dealloc()
| static void dealloc |
( |
Object * |
self | ) |
|
|
static |
- See also
- Object::dealloc(Object *)
Definition at line 17 of file URLSessionConfiguration.c.
17 {
18
20
21 release(this->credentials.username);
22 release(this->credentials.password);
25
27}
ident release(ident obj)
Atomically decrement the given Object's reference count. If the resulting reference count is 0,...
#define super(type, obj, method,...)
static void dealloc(Object *self)
Object is the root Class of The Objectively Class hierarchy.
◆ init()
Definition at line 35 of file URLSessionConfiguration.c.
35 {
36
38 if (self) {
41 }
42
43 return self;
44}
static URLSessionConfiguration * init(URLSessionConfiguration *self)
long connectTimeout
The timeout interval for establishing a connection, in seconds. 0 means no limit.
URLCache * urlCache
The cache for URL responses, or NULL to disable caching.
◆ initialize()
| static void initialize |
( |
Class * |
clazz | ) |
|
|
static |
- See also
- Class::initialize(Class *)
Definition at line 51 of file URLSessionConfiguration.c.
51 {
52
54
55 ((URLSessionConfigurationInterface *) clazz->
interface)->init =
init;
56}
ident interface
The interface of the Class.