staticlib_pion  2.0.2
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
Classes | Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
staticlib::pion::http_message Class Reference

Base container for HTTP messages. More...

#include <staticlib/pion/http_message.hpp>

Inheritance diagram for staticlib::pion::http_message:
staticlib::pion::http_request staticlib::pion::http_response

Classes

class  content_buffer_t
 A simple helper class used to manage a fixed-size payload content buffer. More...
struct  receive_error_t
 Data type for library errors returned during receive() operations. More...

Public Types

enum  data_status_type { STATUS_NONE, STATUS_TRUNCATED, STATUS_PARTIAL, STATUS_OK }
 Used to cache chunked data. More...

Public Member Functions

 http_message ()
 Constructs a new HTTP message object.
 http_message (const http_message &http_msg)
 Copy constructor.
http_message & operator= (const http_message &http_msg)
 Assignment operator.
virtual ~http_message () STATICLIB_NOEXCEPT
 Virtual destructor.
virtual void clear ()
 Clears all message data.
virtual bool is_content_length_implied (void) const =0
 Should return true if the content length can be implied without headers.
bool is_valid () const
 Returns true if the message is valid.
bool get_chunks_supported () const
 Returns true if chunked transfer encodings are supported.
const asio::ip::address & get_remote_ip () const
 Returns IP address of the remote endpoint.
uint16_t get_version_major () const
 Returns the major HTTP version number.
uint16_t get_version_minor () const
 Returns the minor HTTP version number.
std::string get_version_string () const
 Returns a string representation of the HTTP version (i.e.
size_t get_content_length () const
 Returns the length of the payload content (in bytes)
bool is_chunked (void) const
 Returns true if the message content is chunked.
bool is_content_buffer_allocated () const
 Returns true if buffer for content is allocated.
std::size_t get_content_buffer_size () const
 Returns size of allocated buffer.
char * get_content ()
 Returns a pointer to the payload content, or empty string if there is none.
const char * get_content () const
 Returns a const pointer to the payload content, or empty string if there is none.
std::vector< char > & get_chunk_cache ()
 Returns a reference to the chunk cache.
const std::string & get_header (const std::string &key) const
 Returns a value for the header if any are defined; otherwise, an empty string.
bool has_header_value (const std::string &key, const std::string &value) const
headers_type & get_headers ()
 Returns a reference to the HTTP headers multimap.
bool has_header (const std::string &key) const
 Returns true if at least one value for the header is defined.
const std::string & get_cookie (const std::string &key) const
 Returns a value for the cookie if any are defined; otherwise, an empty string since cookie names are insensitive, key should use lowercase alpha chars.
headers_type & get_cookies ()
 Returns the cookie parameters.
bool has_cookie (const std::string &key) const
 Returns true if at least one value for the cookie is defined since cookie names are insensitive, key should use lowercase alpha chars.
void add_cookie (const std::string &key, const std::string &value)
 Adds a value for the cookie since cookie names are insensitive, key should use lowercase alpha chars.
void change_cookie (const std::string &key, const std::string &value)
 Changes the value of a cookie since cookie names are insensitive, key should use lowercase alpha chars.
void delete_cookie (const std::string &key)
 Removes all values for a cookie since cookie names are insensitive, key should use lowercase alpha chars.
const std::string & get_first_line () const
 Returns a string containing the first line for the HTTP message.
bool has_missing_packets () const
 Returns true if there were missing packets.
void set_missing_packets (bool newVal)
 Set to true when missing packets detected.
bool has_data_after_missing_packets () const
 Returns true if more data seen after the missing packets.
void set_data_after_missing_packet (bool newVal)
 Sets data seen after the missing packets flag.
void set_is_valid (bool b=true)
 Sets whether or not the message is valid.
void set_chunks_supported (bool b)
 Set to true if chunked transfer encodings are supported.
void set_remote_ip (const asio::ip::address &ip)
 Sets IP address of the remote endpoint.
void set_version_major (const uint16_t n)
 Sets the major HTTP version number.
void set_version_minor (const uint16_t n)
 Sets the minor HTTP version number.
void set_content_length (size_t n)
 Sets the length of the payload content (in bytes)
void set_do_not_send_content_length ()
 If called, the content-length will not be sent in the HTTP headers.
data_status_type get_status () const
 Return the data receival status.
void set_status (data_status_type newVal)
 Sets data receival status.
void update_content_length_using_header ()
 Sets the length of the payload content using the Content-Length header.
void update_transfer_encoding_using_header ()
 Sets the transfer coding using the Transfer-Encoding header.
char * create_content_buffer ()
 Creates a payload content buffer of size m_content_length and returns a pointer to the new buffer (memory is managed by message class)
void set_content (const std::string &content)
 Resets payload content to match the value of a string.
void clear_content ()
 Clears payload content buffer.
void set_content_type (const std::string &type)
 Sets the content type for the message payload.
void add_header (const std::string &key, const std::string &value)
 Adds a value for the HTTP header named key.
void change_header (const std::string &key, const std::string &value)
 Changes the value for the HTTP header named key.
void delete_header (const std::string &key)
 Removes all values for the HTTP header named key.
bool check_keep_alive () const
 Returns true if the HTTP connection may be kept alive.
void prepare_buffers_for_send (std::vector< asio::const_buffer > &write_buffers, const bool keep_alive, const bool using_chunks)
 Initializes a vector of write buffers with the HTTP message information.
void concatenate_chunks ()
 Pieces together all the received chunks.

Static Public Attributes

static const std::string STRING_EMPTY
static const std::string STRING_CRLF
static const std::string STRING_HTTP_VERSION
static const std::string HEADER_NAME_VALUE_DELIMITER
static const std::string COOKIE_NAME_VALUE_DELIMITER
static const std::string HEADER_HOST
static const std::string HEADER_COOKIE
static const std::string HEADER_SET_COOKIE
static const std::string HEADER_CONNECTION
static const std::string HEADER_CONTENT_TYPE
static const std::string HEADER_CONTENT_LENGTH
static const std::string HEADER_CONTENT_LOCATION
static const std::string HEADER_CONTENT_ENCODING
static const std::string HEADER_CONTENT_DISPOSITION
static const std::string HEADER_LAST_MODIFIED
static const std::string HEADER_IF_MODIFIED_SINCE
static const std::string HEADER_TRANSFER_ENCODING
static const std::string HEADER_LOCATION
static const std::string HEADER_AUTHORIZATION
static const std::string HEADER_REFERER
static const std::string HEADER_USER_AGENT
static const std::string HEADER_X_FORWARDED_FOR
static const std::string HEADER_CLIENT_IP
static const std::string CONTENT_TYPE_HTML
static const std::string CONTENT_TYPE_TEXT
static const std::string CONTENT_TYPE_XML
static const std::string CONTENT_TYPE_URLENCODED
static const std::string CONTENT_TYPE_MULTIPART_FORM_DATA
static const std::string REQUEST_METHOD_HEAD
static const std::string REQUEST_METHOD_GET
static const std::string REQUEST_METHOD_PUT
static const std::string REQUEST_METHOD_POST
static const std::string REQUEST_METHOD_DELETE
static const std::string REQUEST_METHOD_OPTIONS
static const std::string RESPONSE_MESSAGE_OK
static const std::string RESPONSE_MESSAGE_CREATED
static const std::string RESPONSE_MESSAGE_ACCEPTED
static const std::string RESPONSE_MESSAGE_NO_CONTENT
static const std::string RESPONSE_MESSAGE_FOUND
static const std::string RESPONSE_MESSAGE_UNAUTHORIZED
static const std::string RESPONSE_MESSAGE_FORBIDDEN
static const std::string RESPONSE_MESSAGE_NOT_FOUND
static const std::string RESPONSE_MESSAGE_METHOD_NOT_ALLOWED
static const std::string RESPONSE_MESSAGE_NOT_MODIFIED
static const std::string RESPONSE_MESSAGE_BAD_REQUEST
static const std::string RESPONSE_MESSAGE_SERVER_ERROR
static const std::string RESPONSE_MESSAGE_NOT_IMPLEMENTED
static const std::string RESPONSE_MESSAGE_CONTINUE
static const unsigned int RESPONSE_CODE_OK
static const unsigned int RESPONSE_CODE_CREATED
static const unsigned int RESPONSE_CODE_ACCEPTED
static const unsigned int RESPONSE_CODE_NO_CONTENT
static const unsigned int RESPONSE_CODE_FOUND
static const unsigned int RESPONSE_CODE_UNAUTHORIZED
static const unsigned int RESPONSE_CODE_FORBIDDEN
static const unsigned int RESPONSE_CODE_NOT_FOUND
static const unsigned int RESPONSE_CODE_METHOD_NOT_ALLOWED
static const unsigned int RESPONSE_CODE_NOT_MODIFIED
static const unsigned int RESPONSE_CODE_BAD_REQUEST
static const unsigned int RESPONSE_CODE_SERVER_ERROR
static const unsigned int RESPONSE_CODE_NOT_IMPLEMENTED
static const unsigned int RESPONSE_CODE_CONTINUE
static const std::string RESPONSE_FULLMESSAGE_100_CONTINUE

Protected Member Functions

std::string make_query_string (const std::unordered_multimap< std::string, std::string, algorithm::ihash, algorithm::iequal_to > &query_params)
 Builds an HTTP query string from a collection of query parameters.
std::string make_set_cookie_header (const std::string &name, const std::string &value, const std::string &path, const bool has_max_age=false, const unsigned long max_age=0)
 Creates a "Set-Cookie" header.
void prepare_headers_for_send (const bool keep_alive, const bool using_chunks)
 Prepares HTTP headers for a send operation.
void append_headers (std::vector< asio::const_buffer > &write_buffers)
 Appends the message's HTTP headers to a vector of write buffers.
void append_cookie_headers ()
 Appends HTTP headers for any cookies defined by the http::message.
void clear_first_line () const
 Erases the string containing the first line for the HTTP message (it will be updated the next time get_first_line() is called)
virtual void update_first_line () const =0
 Updates the string containing the first line for the HTTP message.

Static Protected Member Functions

static const std::string & get_value (const headers_type &dict, const std::string &key)
 Returns the first value in a dictionary if key is found; or an empty string if no values are found.
static void change_value (headers_type &dict, const std::string &key, const std::string &value)
 Changes the value for a dictionary key.
static void delete_value (headers_type &dict, const std::string &key)
 Deletes all values for a key.

Protected Attributes

std::string m_first_line
 First line sent in an HTTP message (i.e.

Detailed Description

Base container for HTTP messages.

Member Enumeration Documentation

Used to cache chunked data.

Defines message data integrity status codes

Enumerator:
STATUS_NONE 

No data received (i.e.

all lost)

STATUS_TRUNCATED 

One or more missing packets at the end.

STATUS_PARTIAL 

One or more missing packets but NOT at the end.

STATUS_OK 

No missing packets.

Constructor & Destructor Documentation

staticlib::pion::http_message::http_message ( )
inline

Constructs a new HTTP message object.

staticlib::pion::http_message::http_message ( const http_message &  http_msg)
inline

Copy constructor.

virtual staticlib::pion::http_message::~http_message ( )
inlinevirtual

Virtual destructor.

Member Function Documentation

void staticlib::pion::http_message::add_cookie ( const std::string &  key,
const std::string &  value 
)
inline

Adds a value for the cookie since cookie names are insensitive, key should use lowercase alpha chars.

Parameters
keycookie name
valuecookie value
void staticlib::pion::http_message::add_header ( const std::string &  key,
const std::string &  value 
)
inline

Adds a value for the HTTP header named key.

Parameters
keyheader name
valueheader value
void staticlib::pion::http_message::append_cookie_headers ( )
inlineprotected

Appends HTTP headers for any cookies defined by the http::message.

Reimplemented in staticlib::pion::http_request, and staticlib::pion::http_response.

void staticlib::pion::http_message::append_headers ( std::vector< asio::const_buffer > &  write_buffers)
inlineprotected

Appends the message's HTTP headers to a vector of write buffers.

Parameters
write_buffersthe buffers to append HTTP headers into
void staticlib::pion::http_message::change_cookie ( const std::string &  key,
const std::string &  value 
)
inline

Changes the value of a cookie since cookie names are insensitive, key should use lowercase alpha chars.

Parameters
keycookie name
valuecookie value
void staticlib::pion::http_message::change_header ( const std::string &  key,
const std::string &  value 
)
inline

Changes the value for the HTTP header named key.

Parameters
keyheader name
valueheader value
static void staticlib::pion::http_message::change_value ( headers_type &  dict,
const std::string &  key,
const std::string &  value 
)
inlinestaticprotected

Changes the value for a dictionary key.

Adds the key if it does not already exist. If multiple values exist for the key, they will be removed and only the new value will remain.

Parameters
dictthe dictionary object to update
keythe key to change the value for
valuethe value to assign to the key
bool staticlib::pion::http_message::check_keep_alive ( ) const
inline

Returns true if the HTTP connection may be kept alive.

Returns
true if the HTTP connection may be kept alive
virtual void staticlib::pion::http_message::clear ( )
inlinevirtual

Clears all message data.

Reimplemented in staticlib::pion::http_request, and staticlib::pion::http_response.

void staticlib::pion::http_message::clear_content ( )
inline

Clears payload content buffer.

void staticlib::pion::http_message::clear_first_line ( ) const
inlineprotected

Erases the string containing the first line for the HTTP message (it will be updated the next time get_first_line() is called)

void staticlib::pion::http_message::concatenate_chunks ( )
inline

Pieces together all the received chunks.

char* staticlib::pion::http_message::create_content_buffer ( )
inline

Creates a payload content buffer of size m_content_length and returns a pointer to the new buffer (memory is managed by message class)

Returns
pointer to newly created content buffer
void staticlib::pion::http_message::delete_cookie ( const std::string &  key)
inline

Removes all values for a cookie since cookie names are insensitive, key should use lowercase alpha chars.

Parameters
keycookie name

Reimplemented in staticlib::pion::http_response.

void staticlib::pion::http_message::delete_header ( const std::string &  key)
inline

Removes all values for the HTTP header named key.

Parameters
keyheader name
static void staticlib::pion::http_message::delete_value ( headers_type &  dict,
const std::string &  key 
)
inlinestaticprotected

Deletes all values for a key.

Parameters
dictthe dictionary object to update
keythe key to delete
std::vector<char>& staticlib::pion::http_message::get_chunk_cache ( )
inline

Returns a reference to the chunk cache.

bool staticlib::pion::http_message::get_chunks_supported ( ) const
inline

Returns true if chunked transfer encodings are supported.

char* staticlib::pion::http_message::get_content ( )
inline

Returns a pointer to the payload content, or empty string if there is none.

const char* staticlib::pion::http_message::get_content ( ) const
inline

Returns a const pointer to the payload content, or empty string if there is none.

Returns
const pointer to the payload content, or empty string if there is none
std::size_t staticlib::pion::http_message::get_content_buffer_size ( ) const
inline

Returns size of allocated buffer.

size_t staticlib::pion::http_message::get_content_length ( ) const
inline

Returns the length of the payload content (in bytes)

Returns
length of the payload content (in bytes)
const std::string& staticlib::pion::http_message::get_cookie ( const std::string &  key) const
inline

Returns a value for the cookie if any are defined; otherwise, an empty string since cookie names are insensitive, key should use lowercase alpha chars.

Parameters
keycookie name
Returns
value for the cookie if any are defined; otherwise, an empty string
headers_type& staticlib::pion::http_message::get_cookies ( )
inline

Returns the cookie parameters.

Returns
cookie parameters multimap
const std::string& staticlib::pion::http_message::get_first_line ( ) const
inline

Returns a string containing the first line for the HTTP message.

Returns
string containing the first line for the HTTP message
const std::string& staticlib::pion::http_message::get_header ( const std::string &  key) const
inline

Returns a value for the header if any are defined; otherwise, an empty string.

headers_type& staticlib::pion::http_message::get_headers ( )
inline

Returns a reference to the HTTP headers multimap.

Returns
reference to the HTTP headers multimap
const asio::ip::address& staticlib::pion::http_message::get_remote_ip ( ) const
inline

Returns IP address of the remote endpoint.

data_status_type staticlib::pion::http_message::get_status ( ) const
inline

Return the data receival status.

Returns
data receival status
static const std::string& staticlib::pion::http_message::get_value ( const headers_type &  dict,
const std::string &  key 
)
inlinestaticprotected

Returns the first value in a dictionary if key is found; or an empty string if no values are found.

Parameters
dictthe dictionary to search for key
keythe key to search for
Returns
value if found; empty string if not
uint16_t staticlib::pion::http_message::get_version_major ( ) const
inline

Returns the major HTTP version number.

Returns
major HTTP version number
uint16_t staticlib::pion::http_message::get_version_minor ( ) const
inline

Returns the minor HTTP version number.

std::string staticlib::pion::http_message::get_version_string ( ) const
inline

Returns a string representation of the HTTP version (i.e.

"HTTP/1.1")

bool staticlib::pion::http_message::has_cookie ( const std::string &  key) const
inline

Returns true if at least one value for the cookie is defined since cookie names are insensitive, key should use lowercase alpha chars.

Parameters
keycookie name
Returns
true if at least one value for the cookie is defined
bool staticlib::pion::http_message::has_data_after_missing_packets ( ) const
inline

Returns true if more data seen after the missing packets.

Returns
true if more data seen after the missing packets
bool staticlib::pion::http_message::has_header ( const std::string &  key) const
inline

Returns true if at least one value for the header is defined.

Parameters
keyheader name
Returns
true if at least one value for the header is defined
bool staticlib::pion::http_message::has_header_value ( const std::string &  key,
const std::string &  value 
) const
inline
bool staticlib::pion::http_message::has_missing_packets ( ) const
inline

Returns true if there were missing packets.

Returns
true if there were missing packets
bool staticlib::pion::http_message::is_chunked ( void  ) const
inline

Returns true if the message content is chunked.

Returns
true if the message content is chunked
bool staticlib::pion::http_message::is_content_buffer_allocated ( ) const
inline

Returns true if buffer for content is allocated.

virtual bool staticlib::pion::http_message::is_content_length_implied ( void  ) const
pure virtual

Should return true if the content length can be implied without headers.

Returns
true if the content length can be implied without headers

Implemented in staticlib::pion::http_request, and staticlib::pion::http_response.

bool staticlib::pion::http_message::is_valid ( ) const
inline

Returns true if the message is valid.

std::string staticlib::pion::http_message::make_query_string ( const std::unordered_multimap< std::string, std::string, algorithm::ihash, algorithm::iequal_to > &  query_params)
inlineprotected

Builds an HTTP query string from a collection of query parameters.

Parameters
query_paramsquery parameters
Returns
query string
std::string staticlib::pion::http_message::make_set_cookie_header ( const std::string &  name,
const std::string &  value,
const std::string &  path,
const bool  has_max_age = false,
const unsigned long  max_age = 0 
)
inlineprotected

Creates a "Set-Cookie" header.

Parameters
namethe name of the cookie
valuethe value of the cookie
paththe path of the cookie
has_max_agetrue if the max_age value should be set
max_agethe life of the cookie, in seconds (0 = discard)
Returns
the new "Set-Cookie" header
http_message& staticlib::pion::http_message::operator= ( const http_message &  http_msg)
inline

Assignment operator.

Parameters
http_msgsource instance
Returns
copied instance
void staticlib::pion::http_message::prepare_buffers_for_send ( std::vector< asio::const_buffer > &  write_buffers,
const bool  keep_alive,
const bool  using_chunks 
)
inline

Initializes a vector of write buffers with the HTTP message information.

Parameters
write_buffersvector of write buffers to initialize
keep_alivetrue if the connection should be kept alive
using_chunkstrue if the payload content will be sent in chunks
void staticlib::pion::http_message::prepare_headers_for_send ( const bool  keep_alive,
const bool  using_chunks 
)
inlineprotected

Prepares HTTP headers for a send operation.

Parameters
keep_alivetrue if the connection should be kept alive
using_chunkstrue if the payload content will be sent in chunks
void staticlib::pion::http_message::set_chunks_supported ( bool  b)
inline

Set to true if chunked transfer encodings are supported.

Parameters
bchunked transfer encodings are supported flag
void staticlib::pion::http_message::set_content ( const std::string &  content)
inline

Resets payload content to match the value of a string.

Parameters
contentpayload content

Reimplemented in staticlib::pion::http_request.

void staticlib::pion::http_message::set_content_length ( size_t  n)
inline

Sets the length of the payload content (in bytes)

Parameters
nlength of the payload content (in bytes)
void staticlib::pion::http_message::set_content_type ( const std::string &  type)
inline

Sets the content type for the message payload.

Parameters
typecontent type
void staticlib::pion::http_message::set_data_after_missing_packet ( bool  newVal)
inline

Sets data seen after the missing packets flag.

Parameters
newValdata seen after the missing packets flag
void staticlib::pion::http_message::set_do_not_send_content_length ( )
inline

If called, the content-length will not be sent in the HTTP headers.

void staticlib::pion::http_message::set_is_valid ( bool  b = true)
inline

Sets whether or not the message is valid.

Parameters
bis-valid flag
void staticlib::pion::http_message::set_missing_packets ( bool  newVal)
inline

Set to true when missing packets detected.

Parameters
newValmissing packets flag
void staticlib::pion::http_message::set_remote_ip ( const asio::ip::address &  ip)
inline

Sets IP address of the remote endpoint.

Parameters
ipIP address of the remote endpoint
void staticlib::pion::http_message::set_status ( data_status_type  newVal)
inline

Sets data receival status.

Parameters
newValdata receival status
void staticlib::pion::http_message::set_version_major ( const uint16_t  n)
inline

Sets the major HTTP version number.

Parameters
nmajor HTTP version number
void staticlib::pion::http_message::set_version_minor ( const uint16_t  n)
inline

Sets the minor HTTP version number.

Parameters
nminor HTTP version number
void staticlib::pion::http_message::update_content_length_using_header ( )
inline

Sets the length of the payload content using the Content-Length header.

virtual void staticlib::pion::http_message::update_first_line ( ) const
protectedpure virtual

Updates the string containing the first line for the HTTP message.

Implemented in staticlib::pion::http_request, and staticlib::pion::http_response.

void staticlib::pion::http_message::update_transfer_encoding_using_header ( )
inline

Sets the transfer coding using the Transfer-Encoding header.

Member Data Documentation

const std::string staticlib::pion::http_message::CONTENT_TYPE_HTML
static
const std::string staticlib::pion::http_message::CONTENT_TYPE_MULTIPART_FORM_DATA
static
const std::string staticlib::pion::http_message::CONTENT_TYPE_TEXT
static
const std::string staticlib::pion::http_message::CONTENT_TYPE_URLENCODED
static
const std::string staticlib::pion::http_message::CONTENT_TYPE_XML
static
const std::string staticlib::pion::http_message::COOKIE_NAME_VALUE_DELIMITER
static
const std::string staticlib::pion::http_message::HEADER_AUTHORIZATION
static
const std::string staticlib::pion::http_message::HEADER_CLIENT_IP
static
const std::string staticlib::pion::http_message::HEADER_CONNECTION
static
const std::string staticlib::pion::http_message::HEADER_CONTENT_DISPOSITION
static
const std::string staticlib::pion::http_message::HEADER_CONTENT_ENCODING
static
const std::string staticlib::pion::http_message::HEADER_CONTENT_LENGTH
static
const std::string staticlib::pion::http_message::HEADER_CONTENT_LOCATION
static
const std::string staticlib::pion::http_message::HEADER_CONTENT_TYPE
static
const std::string staticlib::pion::http_message::HEADER_COOKIE
static
const std::string staticlib::pion::http_message::HEADER_HOST
static
const std::string staticlib::pion::http_message::HEADER_IF_MODIFIED_SINCE
static
const std::string staticlib::pion::http_message::HEADER_LAST_MODIFIED
static
const std::string staticlib::pion::http_message::HEADER_LOCATION
static
const std::string staticlib::pion::http_message::HEADER_NAME_VALUE_DELIMITER
static
const std::string staticlib::pion::http_message::HEADER_REFERER
static
const std::string staticlib::pion::http_message::HEADER_SET_COOKIE
static
const std::string staticlib::pion::http_message::HEADER_TRANSFER_ENCODING
static
const std::string staticlib::pion::http_message::HEADER_USER_AGENT
static
const std::string staticlib::pion::http_message::HEADER_X_FORWARDED_FOR
static
std::string staticlib::pion::http_message::m_first_line
mutableprotected

First line sent in an HTTP message (i.e.

"GET / HTTP/1.1" for request, or "HTTP/1.1 200 OK" for response)

const std::string staticlib::pion::http_message::REQUEST_METHOD_DELETE
static
const std::string staticlib::pion::http_message::REQUEST_METHOD_GET
static
const std::string staticlib::pion::http_message::REQUEST_METHOD_HEAD
static
const std::string staticlib::pion::http_message::REQUEST_METHOD_OPTIONS
static
const std::string staticlib::pion::http_message::REQUEST_METHOD_POST
static
const std::string staticlib::pion::http_message::REQUEST_METHOD_PUT
static
const unsigned int staticlib::pion::http_message::RESPONSE_CODE_ACCEPTED
static
const unsigned int staticlib::pion::http_message::RESPONSE_CODE_BAD_REQUEST
static
const unsigned int staticlib::pion::http_message::RESPONSE_CODE_CONTINUE
static
const unsigned int staticlib::pion::http_message::RESPONSE_CODE_CREATED
static
const unsigned int staticlib::pion::http_message::RESPONSE_CODE_FORBIDDEN
static
const unsigned int staticlib::pion::http_message::RESPONSE_CODE_FOUND
static
const unsigned int staticlib::pion::http_message::RESPONSE_CODE_METHOD_NOT_ALLOWED
static
const unsigned int staticlib::pion::http_message::RESPONSE_CODE_NO_CONTENT
static
const unsigned int staticlib::pion::http_message::RESPONSE_CODE_NOT_FOUND
static
const unsigned int staticlib::pion::http_message::RESPONSE_CODE_NOT_IMPLEMENTED
static
const unsigned int staticlib::pion::http_message::RESPONSE_CODE_NOT_MODIFIED
static
const unsigned int staticlib::pion::http_message::RESPONSE_CODE_OK
static
const unsigned int staticlib::pion::http_message::RESPONSE_CODE_SERVER_ERROR
static
const unsigned int staticlib::pion::http_message::RESPONSE_CODE_UNAUTHORIZED
static
const std::string staticlib::pion::http_message::RESPONSE_FULLMESSAGE_100_CONTINUE
static
const std::string staticlib::pion::http_message::RESPONSE_MESSAGE_ACCEPTED
static
const std::string staticlib::pion::http_message::RESPONSE_MESSAGE_BAD_REQUEST
static
const std::string staticlib::pion::http_message::RESPONSE_MESSAGE_CONTINUE
static
const std::string staticlib::pion::http_message::RESPONSE_MESSAGE_CREATED
static
const std::string staticlib::pion::http_message::RESPONSE_MESSAGE_FORBIDDEN
static
const std::string staticlib::pion::http_message::RESPONSE_MESSAGE_FOUND
static
const std::string staticlib::pion::http_message::RESPONSE_MESSAGE_METHOD_NOT_ALLOWED
static
const std::string staticlib::pion::http_message::RESPONSE_MESSAGE_NO_CONTENT
static
const std::string staticlib::pion::http_message::RESPONSE_MESSAGE_NOT_FOUND
static
const std::string staticlib::pion::http_message::RESPONSE_MESSAGE_NOT_IMPLEMENTED
static
const std::string staticlib::pion::http_message::RESPONSE_MESSAGE_NOT_MODIFIED
static
const std::string staticlib::pion::http_message::RESPONSE_MESSAGE_OK
static
const std::string staticlib::pion::http_message::RESPONSE_MESSAGE_SERVER_ERROR
static
const std::string staticlib::pion::http_message::RESPONSE_MESSAGE_UNAUTHORIZED
static
const std::string staticlib::pion::http_message::STRING_CRLF
static
const std::string staticlib::pion::http_message::STRING_EMPTY
static
const std::string staticlib::pion::http_message::STRING_HTTP_VERSION
static

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