libiqxmlrpc  0.12.4
 All Classes Namespaces Files Functions Typedefs Enumerations
Public Member Functions | List of all members
iqxmlrpc::http::Request_header Class Reference

HTTP request's header. More...

#include <http.h>

Inheritance diagram for iqxmlrpc::http::Request_header:
iqxmlrpc::http::Header

Public Member Functions

 Request_header (Verification_level, const std::string &to_parse)
 
 Request_header (const std::string &uri, const std::string &vhost, int port)
 
const std::string & uri () const
 
std::string host () const
 
std::string agent () const
 
bool has_authinfo () const
 
void get_authinfo (std::string &user, std::string &password) const
 
void set_authinfo (const std::string &user, const std::string &password)
 
- Public Member Functions inherited from iqxmlrpc::http::Header
 Header (Verification_level=HTTP_CHECK_WEAK)
 
unsigned content_length () const
 
bool conn_keep_alive () const
 
bool expect_continue () const
 
void set_content_length (size_t ln)
 
void set_conn_keep_alive (bool)
 
void set_option (const std::string &name, const std::string &value)
 
std::string dump () const
 Return text representation of header including final CRLF.
 

Additional Inherited Members

- Protected Types inherited from iqxmlrpc::http::Header
typedef boost::function< void(const
std::string &)> 
Option_validator_fn
 
- Protected Member Functions inherited from iqxmlrpc::http::Header
bool option_exists (const std::string &) const
 
void set_option_default (const std::string &name, const std::string &value)
 
void set_option_default (const std::string &name, unsigned value)
 
void set_option_checked (const std::string &name, const std::string &value)
 
void set_option (const std::string &name, size_t value)
 
const std::string & get_head_line () const
 
std::string get_string (const std::string &name) const
 
unsigned get_unsigned (const std::string &name) const
 
void register_validator (const std::string &, Option_validator_fn, Verification_level)
 
void parse (const std::string &)
 

Detailed Description

HTTP request's header.


The documentation for this class was generated from the following files: