Monero
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions
http_base.h File Reference
#include "memwipe.h"
#include <boost/utility/string_ref.hpp>
#include <string>
#include <utility>
#include <list>
Include dependency graph for http_base.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  epee::net_utils::http::http_header_info
 
struct  epee::net_utils::http::uri_content
 
struct  epee::net_utils::http::url_content
 
struct  epee::net_utils::http::http_request_info
 
struct  epee::net_utils::http::http_response_info
 

Namespaces

 epee
 TODO: (mj-xmr) This will be reduced in an another PR.
 
 epee::net_utils
 
 epee::net_utils::http
 

Macros

#define MONERO_DEFAULT_LOG_CATEGORY   "net.http"
 

Typedefs

typedef std::list< std::pair< std::string, std::string > > epee::net_utils::http::fields_list
 

Enumerations

enum  epee::net_utils::http::http_method {
  epee::net_utils::http::http_method_options, epee::net_utils::http::http_method_get, epee::net_utils::http::http_method_post, epee::net_utils::http::http_method_put,
  epee::net_utils::http::http_method_head, epee::net_utils::http::http_method_etc, epee::net_utils::http::http_method_unknown
}
 
enum  epee::net_utils::http::http_content_type { epee::net_utils::http::http_content_type_text_html, epee::net_utils::http::http_content_type_image_gif, epee::net_utils::http::http_content_type_other, epee::net_utils::http::http_content_type_not_set }
 

Functions

std::string epee::net_utils::http::get_value_from_fields_list (const std::string &param_name, const net_utils::http::fields_list &fields)
 
std::string epee::net_utils::http::get_value_from_uri_line (const std::string &param_name, const std::string &uri)
 
static void epee::net_utils::http::add_field (std::string &out, const boost::string_ref name, const boost::string_ref value)
 
static void epee::net_utils::http::add_field (std::string &out, const std::pair< std::string, std::string > &field)
 

Macro Definition Documentation

◆ MONERO_DEFAULT_LOG_CATEGORY

#define MONERO_DEFAULT_LOG_CATEGORY   "net.http"