Lolly 1.4.27
Loading...
Searching...
No Matches
Namespaces | Typedefs | Enumerations | Functions
http.hpp File Reference
#include "blackbox.hpp"
#include "hashmap.hpp"
#include "lolly/data/lolly_tree.hpp"
#include "url.hpp"
Include dependency graph for http.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  lolly
 
namespace  lolly::io
 

Typedefs

typedef lolly_tree< blackboxlolly::io::http_tree
 
using lolly::io::http_headers = hashmap<string, string>
 

Enumerations

enum  lolly::io::http_label : int {
  lolly::io::STATUS_CODE = 1 , lolly::io::TEXT , lolly::io::URL , lolly::io::ELAPSED ,
  lolly::io::HEADER , lolly::io::PARAMETERS , lolly::io::PAYLOAD , lolly::io::MULTIPART ,
  lolly::io::TUPLE , lolly::io::ROOT
}
 

Functions

template<typename T >
http_tree lolly::io::blackbox_tree (int label, T data)
 
http_tree lolly::io::http_response_init ()
 
http_tree lolly::io::http_response_ref (http_tree r, http_label op)
 
void lolly::io::http_response_set (http_tree r, http_label op, http_tree t)
 
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)