Soletta™ Framework
|
Used to define an HTTP parameter. More...
#include <sol-http.h>
Data Fields | |
enum sol_http_param_type | type |
union { | |
struct { | |
struct sol_str_slice password | |
struct sol_str_slice user | |
} auth | |
struct { | |
bool value | |
} boolean | |
struct { | |
struct sol_str_slice filename | |
struct sol_str_slice key | |
struct sol_str_slice value | |
} data | |
struct { | |
int32_t value | |
} integer | |
struct { | |
struct sol_str_slice key | |
struct sol_str_slice value | |
} key_value | |
} | value |
Used to define an HTTP parameter.
A parameter is defined by its type (one of enum sol_http_param_type) and its value. It may be a key-value parameter, authentication (user-password), or data.
struct { ... } sol_http_param_value::auth |
struct { ... } sol_http_param_value::boolean |
struct { ... } sol_http_param_value::data |
struct sol_str_slice sol_http_param_value::filename |
struct { ... } sol_http_param_value::integer |
struct sol_str_slice sol_http_param_value::key |
struct { ... } sol_http_param_value::key_value |
struct sol_str_slice sol_http_param_value::password |
enum sol_http_param_type sol_http_param_value::type |
Referenced by create_header_params(), and response_cb().
struct sol_str_slice sol_http_param_value::user |
struct sol_str_slice sol_http_param_value::value |
Referenced by create_header_params(), and response_cb().
bool sol_http_param_value::value |
int32_t sol_http_param_value::value |
union { ... } sol_http_param_value::value |