Lolly 1.4.28
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
http.cpp File Reference
#include "lolly/io/http.hpp"
#include "analyze.hpp"
#include "hashmap.hpp"
#include "iterator.hpp"
#include "lolly/data/uri.hpp"
#include <cpr/cpr.h>
Include dependency graph for http.cpp:

Go to the source code of this file.

Namespaces

namespace  lolly
 
namespace  lolly::io
 

Functions

template<typename T >
http_tree lolly::io::blackbox_tree (int label, T data)
 
static http_tree lolly::io::response_to_tree (cpr::Response r, string url)
 
static cpr::Header lolly::io::as_cpr_header (http_headers hmap)
 
http_tree lolly::io::http_get (url u, http_headers headers)
 
http_tree lolly::io::http_head (url u, http_headers headers)
 
http_tree lolly::io::download (url from, url to, http_headers headers)
 

Variables

const charlolly::io::HTTP_USER_AGENT = "User-Agent"