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

HTTP packet: Header + Content. More...

#include <http.h>

Inheritance diagram for iqxmlrpc::http::Packet:
iqxmlrpc::http::Error_response iqxmlrpc::http::Bad_request iqxmlrpc::http::Expectation_failed iqxmlrpc::http::Length_required iqxmlrpc::http::Method_not_allowed iqxmlrpc::http::Request_too_large iqxmlrpc::http::Unauthorized iqxmlrpc::http::Unsupported_content_type

Public Member Functions

 Packet (http::Header *header, const std::string &content)
 
void set_keep_alive (bool=true)
 
const http::Headerheader () const
 
const std::string & content () const
 
std::string dump () const
 

Protected Attributes

boost::shared_ptr< http::Headerheader_
 
std::string content_
 

Detailed Description

HTTP packet: Header + Content.

Member Function Documentation

void iqxmlrpc::http::Packet::set_keep_alive ( bool  keep_alive = true)

Sets header option "connection: {keep-alive|close}". By default connection is close.


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