HTTP response. More...
#include <http_header.h>


Public Member Functions | |
| http_method::http_method | get_allow () |
| void | set_allow (http_method::http_method method) |
| std::string | get_status () const |
| Get/Set individual headers. | |
| http_error::http_error | get_status_code () const |
| void | set_status (http_error::http_error code) |
| const std::string & | get_connection () |
| const std::string & | get_transfer_encoding () const |
Friends | |
| std::istream & | operator>> (std::istream &, http_header &) |
| Set content from a stream. | |
| std::ostream & | operator<< (std::ostream &, const http_response &) |
HTTP response.
This class represents a HTTP response.