Soletta™ Framework
|
Handle for an HTTP response. More...
#include <sol-http.h>
Data Fields | |
uint16_t | api_version |
struct sol_buffer | content |
const char * | content_type |
struct sol_http_params | param |
int | response_code |
const char * | url |
Handle for an HTTP response.
A response is composed by a response code, that may be one of enum sol_http_status_code, a vector of parameters, URL, definition of content type, like "text" or "application/json", and the response content itself.
uint16_t sol_http_response::api_version |
Referenced by request_cb(), and request_events_cb().
struct sol_buffer sol_http_response::content |
Referenced by request_cb(), and response_cb().
const char* sol_http_response::content_type |
struct sol_http_params sol_http_response::param |
Referenced by request_cb(), request_events_cb(), response_cb(), and sol_http_response_set_sse_headers().
int sol_http_response::response_code |
Referenced by response_cb(), and response_func().
const char* sol_http_response::url |