libiqxmlrpc  0.12.4
 All Classes Namespaces Files Functions Typedefs Enumerations
Classes | Public Member Functions | Protected Types | Protected Member Functions | List of all members
iqxmlrpc::http::Header Class Referenceabstract

#include <http.h>

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

Public Member Functions

 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.
 

Protected Types

typedef boost::function< void(const
std::string &)> 
Option_validator_fn
 

Protected Member Functions

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 header. Responsible for parsing, creating generic HTTP headers.


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