cxxtools::http::Request Class Reference

#include <cxxtools/http/request.h>

Classes

struct  Auth

Public Member Functions

 Request (const std::string &url=std::string())
RequestHeaderheader ()
const RequestHeaderheader () const
void setHeader (const char *key, const char *value)
void addHeader (const char *key, const char *value)
void removeHeader (const char *key)
const char * getHeader (const char *key) const
bool hasHeader (const char *key) const
void clear ()
const std::string & url () const
void url (const std::string &u)
const std::string & method () const
void method (const std::string &m)
const std::string & qparams () const
void qparams (const std::string &q)
std::string bodyStr () const
std::ostream & body ()
std::size_t bodySize () const
void sendBody (std::ostream &out) const
Auth auth () const

Constructor & Destructor Documentation

cxxtools::http::Request::Request ( const std::string &  url = std::string())
inlineexplicit

Member Function Documentation

void cxxtools::http::Request::addHeader ( const char *  key,
const char *  value 
)
inline
Auth cxxtools::http::Request::auth ( ) const
std::ostream& cxxtools::http::Request::body ( )
inline
std::size_t cxxtools::http::Request::bodySize ( ) const
inline
std::string cxxtools::http::Request::bodyStr ( ) const
inline
void cxxtools::http::Request::clear ( )
inline
const char* cxxtools::http::Request::getHeader ( const char *  key) const
inline
bool cxxtools::http::Request::hasHeader ( const char *  key) const
inline
RequestHeader& cxxtools::http::Request::header ( )
inline
const RequestHeader& cxxtools::http::Request::header ( ) const
inline
const std::string& cxxtools::http::Request::method ( ) const
inline
void cxxtools::http::Request::method ( const std::string &  m)
inline
const std::string& cxxtools::http::Request::qparams ( ) const
inline
void cxxtools::http::Request::qparams ( const std::string &  q)
inline
void cxxtools::http::Request::removeHeader ( const char *  key)
inline
void cxxtools::http::Request::sendBody ( std::ostream &  out) const
inline
void cxxtools::http::Request::setHeader ( const char *  key,
const char *  value 
)
inline
const std::string& cxxtools::http::Request::url ( ) const
inline
void cxxtools::http::Request::url ( const std::string &  u)
inline

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