Lolly 1.4.28
|
Typedefs | |
typedef lolly_tree< blackbox > | http_tree |
using | http_headers = hashmap<string, string> |
Enumerations | |
enum | http_label : int { STATUS_CODE = 1 , TEXT , URL , ELAPSED , HEADER , PARAMETERS , PAYLOAD , MULTIPART , TUPLE , ROOT } |
Functions | |
template<typename T > | |
http_tree | blackbox_tree (int label, T data) |
static http_tree | response_to_tree (cpr::Response r, string url) |
static cpr::Header | as_cpr_header (http_headers hmap) |
http_tree | http_get (url u, http_headers headers) |
http_tree | http_head (url u, http_headers headers) |
http_tree | download (url from, url to, http_headers headers) |
http_tree | http_response_init () |
http_tree | http_response_ref (http_tree r, http_label op) |
void | http_response_set (http_tree r, http_label op, http_tree t) |
Variables | |
const char * | HTTP_USER_AGENT = "User-Agent" |
enum lolly::io::http_label : int |
|
static |
Definition at line 55 of file http.cpp.
|
static |
Definition at line 81 of file http.cpp.
http_tree lolly::io::http_get | ( | url | u, |
http_headers | headers ) |
Definition at line 92 of file http.cpp.
http_tree lolly::io::http_head | ( | url | u, |
http_headers | headers ) |
http_tree lolly::io::download | ( | url | from, |
url | to, | ||
http_headers | headers ) |
|
inline |
Definition at line 42 of file http.hpp.
|
inline |
|
inline |