Objectively
Ultra-lightweight object oriented framework for GNU C.
Loading...
Searching...
No Matches
REST

HTTP REST client. More...

Classes

struct  RESTClient
 An HTTP REST client backed by URLSession. More...
 

Typedefs

typedef void(* RESTClientCompletion) (int status, Data *data, void *user_data)
 A completion handler for asynchronous RESTClient requests.
 

Typedef Documentation

◆ RESTClientCompletion

typedef void(* RESTClientCompletion) (int status, Data *data, void *user_data)

A completion handler for asynchronous RESTClient requests.

Parameters
statusThe HTTP response status code, or 0 on connection failure.
dataThe response body, or NULL.
user_dataThe user data pointer passed to the originating async method.

Definition at line 50 of file RESTClient.h.