Objectively 1.0.0
Ultra-lightweight object oriented framework for GNU C.
|
#include <URLSessionDataTask.h>
Use data tasks to send and receive Data in-memory.
Data tasks are well suited for web service invocations.
Definition at line 43 of file URLSessionDataTask.h.
Properties | |
Data * | data |
The data received. More... | |
URLSessionTask | urlSessionTask |
The superclass. More... | |
![]() | |
size_t | bytesExpectedToReceive |
The count of bytes this task expects to receive. More... | |
size_t | bytesExpectedToSend |
The count of bytes this task expects to send. More... | |
size_t | bytesReceived |
The count of bytes received. More... | |
size_t | bytesSent |
The count of bytes sent. More... | |
URLSessionTaskCompletion | completion |
The completion function. More... | |
ident | data |
User data. More... | |
char * | error |
The error buffer. More... | |
Object | object |
The superclass. More... | |
URLSessionTaskProgress | progress |
The progress function. More... | |
struct URLRequest * | request |
The request. More... | |
struct URLResponse * | response |
The response. More... | |
struct URLSession * | session |
The session. More... | |
URLSessionTaskState | state |
The state. More... | |
ident | handle |
The backing libcurl handle. More... | |
ident | requestHeaders |
HTTP headers, in libcurl list structure. More... | |
![]() | |
Class * | clazz |
Every instance of Object begins with a pointer to its Class. More... | |
Methods | |
Class * | _URLSessionDataTask (void) |
The URLSessionDataTask archetype. More... | |
![]() | |
Class * | _URLSessionTask (void) |
The URLSessionTask archetype. More... | |
void | cancel (URLSessionTask *) |
Cancels this task. More... | |
void | execute (URLSessionTask *) |
Executes this task synchronously, on the calling thread. More... | |
URLSessionTask * | initWithRequestInSession (URLSessionTask *, struct URLRequest *, struct URLSession *, URLSessionTaskCompletion) |
Initializes this task with the given URLRequest. More... | |
void | resume (URLSessionTask *) |
Starts or resumes this task. More... | |
void | setup (URLSessionTask *) |
Sets up this task. More... | |
void | suspend (URLSessionTask *) |
Suspends this task. More... | |
void | teardown (URLSessionTask *) |
Tears down this task. More... | |
![]() | |
Class * | _Object (void) |
The Object archetype. More... | |
Object * | copy (const Object *self) |
Creates a shallow copy of this Object. More... | |
void | dealloc (Object *self) |
Frees all resources held by this Object. More... | |
String * | description (const Object *self) |
int | hash (const Object *self) |
Object * | init (Object *self) |
Initializes this Object. More... | |
_Bool | isEqual (const Object *self, const Object *other) |
Tests equality of the other Object. More... | |
_Bool | isKindOfClass (const Object *self, const Class *clazz) |
Tests for Class hierarchy membership. More... | |
Protected Attributes | |
URLSessionDataTaskInterface * | interface |
The interface. More... | |
![]() | |
URLSessionTaskInterface * | interface |
The interface. More... | |
![]() | |
ObjectInterface * | interface |
The interface. More... | |
Data* URLSessionDataTask::data | ( | void | ) |
The data received.
Definition at line 59 of file URLSessionDataTask.h.
|
protected |
The interface.
Definition at line 54 of file URLSessionDataTask.h.
URLSessionTask URLSessionDataTask::urlSessionTask |
The superclass.
Definition at line 48 of file URLSessionDataTask.h.
Class * _URLSessionDataTask | ( | void | ) |
The URLSessionDataTask archetype.
Definition at line 99 of file URLSessionDataTask.c.