|
Objectively
Object oriented framework for C.
|
#include <assert.h>#include <stdlib.h>#include <curl/curl.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 int | del (RESTClient *self, const char *url, const char **headers, Data **data) |
| static void | delAsync (RESTClient *self, const char *url, const char **headers, RESTClientCompletion completion, void *userData) |
| static void | destroy (Class *clazz) |
| static int | get (RESTClient *self, const char *url, const char **headers, Data **data) |
| static void | getAsync (RESTClient *self, const char *url, const char **headers, RESTClientCompletion completion, void *userData) |
| static int | head (RESTClient *self, const char *url, const char **headers) |
| static void | headAsync (RESTClient *self, const char *url, const char **headers, RESTClientCompletion completion, void *userData) |
| 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, const char **headers, Data **data) |
| static void | optionsAsync (RESTClient *self, const char *url, const char **headers, RESTClientCompletion completion, void *userData) |
| static int | patch (RESTClient *self, const char *url, const Data *body, const char **headers, Data **data) |
| static void | patchAsync (RESTClient *self, const char *url, const Data *body, const char **headers, RESTClientCompletion completion, void *userData) |
| static int | post (RESTClient *self, const char *url, const Data *body, const char **headers, Data **data) |
| static void | postAsync (RESTClient *self, const char *url, const Data *body, const char **headers, RESTClientCompletion completion, void *userData) |
| static int | put (RESTClient *self, const char *url, const Data *body, const char **headers, Data **data) |
| static void | putAsync (RESTClient *self, const char *url, const Data *body, const char **headers, RESTClientCompletion completion, void *userData) |
| static int | request (RESTClient *self, HTTPMethod method, const char *url_string, const Data *body, const char **headers, Data **out_data) |
| static void | requestAsync (RESTClient *self, HTTPMethod method, const char *url_string, const Data *body, const char **headers, RESTClientCompletion completion, void *userData) |
| static void | RESTClient_AsyncCompletion (URLSessionTask *task, bool success) |
| static RESTClient * | sharedInstance (void) |
Variables | |
| static RESTClient * | _sharedInstance |
| #define _Class _RESTClient |
Definition at line 34 of file RESTClient.c.
| Class * _RESTClient | ( | void | ) |
Definition at line 361 of file RESTClient.c.
|
static |
Definition at line 158 of file RESTClient.c.
|
static |
Definition at line 173 of file RESTClient.c.
|
static |
Definition at line 181 of file RESTClient.c.
|
static |
Definition at line 329 of file RESTClient.c.
|
static |
Definition at line 190 of file RESTClient.c.
|
static |
Definition at line 198 of file RESTClient.c.
|
static |
Definition at line 207 of file RESTClient.c.
|
static |
Definition at line 215 of file RESTClient.c.
|
static |
Definition at line 224 of file RESTClient.c.
|
static |
Definition at line 333 of file RESTClient.c.
|
static |
Definition at line 232 of file RESTClient.c.
|
static |
Definition at line 246 of file RESTClient.c.
|
static |
Definition at line 254 of file RESTClient.c.
|
static |
Definition at line 263 of file RESTClient.c.
|
static |
Definition at line 271 of file RESTClient.c.
|
static |
Definition at line 280 of file RESTClient.c.
|
static |
Definition at line 288 of file RESTClient.c.
|
static |
Definition at line 297 of file RESTClient.c.
|
static |
Definition at line 305 of file RESTClient.c.
|
static |
Definition at line 62 of file RESTClient.c.
|
static |
Definition at line 111 of file RESTClient.c.
|
static |
Definition at line 43 of file RESTClient.c.
|
static |
Definition at line 316 of file RESTClient.c.
|
static |
Definition at line 310 of file RESTClient.c.