|
Objectively
Ultra-lightweight object oriented framework for GNU C.
|
#include <assert.h>#include <stdlib.h>#include "RESTClient.h"#include "URL.h"#include "URLRequest.h"#include "URLSessionDataTask.h"Go to the source code of this file.
Data Structures | |
| struct | RESTClient_AsyncState |
Macros | |
| #define | _Class _RESTClient |
Functions | |
| Class * | _RESTClient (void) |
| static void | dealloc (Object *self) |
| static void | destroy (Class *clazz) |
| static int | get (RESTClient *self, const char *url, Data **data) |
| static void | getAsync (RESTClient *self, const char *url, RESTClientCompletion completion, void *user_data) |
| static int | head (RESTClient *self, const char *url) |
| static void | headAsync (RESTClient *self, const char *url, RESTClientCompletion completion, void *user_data) |
| static int | httpDelete (RESTClient *self, const char *url, Data **data) |
| static void | httpDeleteAsync (RESTClient *self, const char *url, RESTClientCompletion completion, void *user_data) |
| static RESTClient * | init (RESTClient *self) |
| static void | initialize (Class *clazz) |
| static RESTClient * | initWithSession (RESTClient *self, URLSession *session) |
| static int | options (RESTClient *self, const char *url, Data **data) |
| static void | optionsAsync (RESTClient *self, const char *url, RESTClientCompletion completion, void *user_data) |
| static int | patch (RESTClient *self, const char *url, const Data *body, Data **data) |
| static void | patchAsync (RESTClient *self, const char *url, const Data *body, RESTClientCompletion completion, void *user_data) |
| static int | post (RESTClient *self, const char *url, const Data *body, Data **data) |
| static void | postAsync (RESTClient *self, const char *url, const Data *body, RESTClientCompletion completion, void *user_data) |
| static int | put (RESTClient *self, const char *url, const Data *body, Data **data) |
| static void | putAsync (RESTClient *self, const char *url, const Data *body, RESTClientCompletion completion, void *user_data) |
| static int | request (RESTClient *self, HTTPMethod method, const char *url_string, const Data *body, Data **out_data) |
| static void | requestAsync (RESTClient *self, HTTPMethod method, const char *url_string, const Data *body, RESTClientCompletion completion, void *user_data) |
| static void | RESTClient_AsyncCompletion (URLSessionTask *task, bool success) |
| static RESTClient * | sharedInstance (void) |
Variables | |
| static RESTClient * | _sharedInstance |
| #define _Class _RESTClient |
Definition at line 32 of file RESTClient.c.
| Class * _RESTClient | ( | void | ) |
Definition at line 332 of file RESTClient.c.
|
static |
Definition at line 129 of file RESTClient.c.
|
static |
Definition at line 300 of file RESTClient.c.
|
static |
Definition at line 144 of file RESTClient.c.
|
static |
Definition at line 152 of file RESTClient.c.
|
static |
Definition at line 161 of file RESTClient.c.
|
static |
Definition at line 169 of file RESTClient.c.
|
static |
Definition at line 178 of file RESTClient.c.
|
static |
Definition at line 186 of file RESTClient.c.
|
static |
Definition at line 195 of file RESTClient.c.
|
static |
Definition at line 304 of file RESTClient.c.
|
static |
Definition at line 203 of file RESTClient.c.
|
static |
Definition at line 217 of file RESTClient.c.
|
static |
Definition at line 225 of file RESTClient.c.
|
static |
Definition at line 234 of file RESTClient.c.
|
static |
Definition at line 242 of file RESTClient.c.
|
static |
Definition at line 251 of file RESTClient.c.
|
static |
Definition at line 259 of file RESTClient.c.
|
static |
Definition at line 268 of file RESTClient.c.
|
static |
Definition at line 276 of file RESTClient.c.
|
static |
Definition at line 57 of file RESTClient.c.
|
static |
Definition at line 94 of file RESTClient.c.
|
static |
Definition at line 41 of file RESTClient.c.
|
static |
Definition at line 287 of file RESTClient.c.
|
static |
Definition at line 281 of file RESTClient.c.