30#define _Class _URLResponse
43 if (this->httpHeaders) {
64#pragma mark - URLResponse
93#pragma mark - Class lifecycle
117 .name =
"URLResponse",
120 .interfaceOffset = offsetof(
URLResponse, interface),
121 .interfaceSize =
sizeof(URLResponseInterface),
ident release(ident obj)
Atomically decrement the given Object's reference count. If the resulting reference count is 0,...
Class * _initialize(const ClassDef *def)
Initializes the given Class.
#define alloc(type)
Allocate and initialize and instance of type.
#define super(type, obj, method,...)
static void setObjectForKey(Dictionary *self, const ident obj, const ident key)
String * str(const char *fmt,...)
static URLResponse * init(URLResponse *self)
Class * _URLResponse(void)
static void dealloc(Object *self)
static Object * copy(const Object *self)
static void initialize(Class *clazz)
static void setValueForHTTPHeaderField(URLResponse *self, const char *value, const char *field)
A protocol-agnostic abstraction for receiving resources via URLs.
#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.
ident interface
The interface of the Class.
Object is the root Class of The Objectively Class hierarchy.
void dealloc(Object *self)
Frees all resources held by this Object.
A protocol-agnostic abstraction for URLSessionTask responses.
void setValueForHTTPHeaderField(URLREquest *self, const char *value, const char *field)
Dictionary * httpHeaders
The HTTP response headers.
int httpStatusCode
The HTTP response status code.