37typedef struct URLSessionInterface URLSessionInterface;
104struct URLSessionInterface {
109 ObjectInterface objectInterface;
184 void (*invalidateAndCancel)(
URLSession *self);
POSIX Threads conditional variables.
Object is the root Class of The Objectively Class hierarchy.
static int request(RESTClient *self, HTTPMethod method, const char *url_string, const Data *body, Data **out_data)
void * ident
The identity type, similar to Objective-C id.
#define OBJECTIVELY_EXPORT
A protocol-agnostic abstraction for requesting resources via URLs.
A protocol-agnostic abstraction for receiving resources via URLs.
OBJECTIVELY_EXPORT Class * _URLSession(void)
Configuration bundle for URLSession.
Use data tasks to send and receive Data in-memory.
Use download tasks to save remote resources to file.
URL session tasks are handles to pending URL operations.
void(* URLSessionTaskCompletion)(URLSessionTask *task, bool success)
A function pointer for URLSessionTask completion.
Use upload tasks to send files directly from disk.
The runtime representation of a Class.
POSIX Threads conditional variables.
Object is the root Class of The Objectively Class hierarchy.
Uniform Resource Locators (RFC 3986).
A protocol-agnostic abstraction for requesting resources via URLs.
Configuration bundle for URLSession.
Use data tasks to send and receive Data in-memory.
Use download tasks to save remote resources to file.
A management context for loading resources via URLs.
Object object
The superclass.
Array * tasks
The URLSessionTasks.
Condition * condition
The condition, and the Lock guarding access to tasks.
URLSessionConfiguration * configuration
The session configuration.
Thread * thread
The backing Thread.
URLSessionInterface * interface
The interface.
ident handle
The libcurl handle.
Use upload tasks to send files directly from disk.