clan::WebResponse Class Reference

HTTP web response class. More...

#include <web_response.h>

Public Member Functions

 WebResponse ()
 
DataBuffer get_body ()
 
std::string get_body_string ()
 
std::string get_content_type ()
 
std::string get_header_field (const std::string &name)
 
int get_status_code ()
 
std::string get_status_string ()
 
bool has_content_type ()
 
bool has_header_field (const std::string &name)
 

Friends

class WebRequest
 

Detailed Description

HTTP web response class.

Constructor & Destructor Documentation

clan::WebResponse::WebResponse ( )

Member Function Documentation

DataBuffer clan::WebResponse::get_body ( )
std::string clan::WebResponse::get_body_string ( )
std::string clan::WebResponse::get_content_type ( )
std::string clan::WebResponse::get_header_field ( const std::string &  name)
int clan::WebResponse::get_status_code ( )
std::string clan::WebResponse::get_status_string ( )
bool clan::WebResponse::has_content_type ( )
bool clan::WebResponse::has_header_field ( const std::string &  name)

Friends And Related Function Documentation

friend class WebRequest
friend

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