Zero  0.1.0
Public Member Functions | Public Attributes | Private Attributes | List of all members
http_headers Class Reference

#include <http.h>

Public Member Functions

 http_headers ()
 
std::string get_response (HandleKits *kits)
 
int content_length ()
 
void on_read_header (std::string line)
 
void on_read_request_line (std::string line)
 

Public Attributes

std::stringstream options
 

Private Attributes

std::string method
 
std::string url
 
std::string version
 
std::map< std::string, std::string > headers
 

Constructor & Destructor Documentation

§ http_headers()

http_headers::http_headers ( )

Member Function Documentation

§ content_length()

int http_headers::content_length ( )

§ get_response()

std::string http_headers::get_response ( HandleKits kits)

§ on_read_header()

void http_headers::on_read_header ( std::string  line)

§ on_read_request_line()

void http_headers::on_read_request_line ( std::string  line)

Member Data Documentation

§ headers

std::map<std::string, std::string> http_headers::headers
private

§ method

std::string http_headers::method
private

§ options

std::stringstream http_headers::options

§ url

std::string http_headers::url
private

§ version

std::string http_headers::version
private

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