|
cwist
Modern C web framework with libttak runtime
|
Optional parameters for advanced test requests. More...
#include <test_client.h>

Public Attributes | |
| const char * | body |
| size_t | body_len |
| const char * | content_type |
| const cwist_test_client_kv * | headers |
| size_t | header_count |
| const cwist_test_client_kv * | cookies |
| size_t | cookie_count |
| const char * | query_string |
Optional parameters for advanced test requests.
Definition at line 31 of file test_client.h.
Request body (may be NULL).
Definition at line 32 of file test_client.h.
Referenced by cwist_test_client_patch(), cwist_test_client_post(), cwist_test_client_post_json(), cwist_test_client_post_multipart(), and cwist_test_client_put().
| size_t cwist_test_client_request_options::body_len |
Explicit body length; 0 means strlen(body).
Definition at line 33 of file test_client.h.
Referenced by cwist_test_client_post_multipart().
Content-Type header value (may be NULL).
Definition at line 34 of file test_client.h.
Referenced by cwist_test_client_post_json(), and cwist_test_client_post_multipart().
| size_t cwist_test_client_request_options::cookie_count |
Number of ad-hoc cookies.
Definition at line 38 of file test_client.h.
| const cwist_test_client_kv* cwist_test_client_request_options::cookies |
Ad-hoc request cookies (not jarred).
Definition at line 37 of file test_client.h.
| size_t cwist_test_client_request_options::header_count |
Number of extra headers.
Definition at line 36 of file test_client.h.
| const cwist_test_client_kv* cwist_test_client_request_options::headers |
Extra request headers.
Definition at line 35 of file test_client.h.
Raw query string, e.g. "foo=bar" (may be NULL).
Definition at line 39 of file test_client.h.