|
Monero
|
#include <http_protocol_handler.h>

Public Types | |
| typedef t_connection_context | connection_context |
| typedef http_server_config | config_type |
Public Member Functions | |
| simple_http_connection_handler (i_service_endpoint *psnd_hndlr, config_type &config, t_connection_context &conn_context) | |
| virtual | ~simple_http_connection_handler () |
| bool | release_protocol () |
| virtual bool | thread_init () |
| virtual bool | thread_deinit () |
| bool | after_init_connection () |
| virtual bool | handle_recv (const void *ptr, size_t cb) |
| virtual bool | handle_request (const http::http_request_info &query_info, http_response_info &response) |
Protected Attributes | |
| i_service_endpoint * | m_psnd_hndlr |
| t_connection_context & | m_conn_context |
| bool | m_initialized |
Private Member Functions | |
| bool | handle_buff_in (std::string &buf) |
| bool | analize_cached_request_header_and_invoke_state (size_t pos) |
| bool | handle_invoke_query_line () |
| bool | parse_cached_header (http_header_info &body_info, const std::string &m_cache_to_process, size_t pos) |
| std::string::size_type | match_end_of_header (const std::string &buf) |
| bool | get_len_from_content_lenght (const std::string &str, size_t &len) |
| bool | handle_retriving_query_body () |
| bool | handle_query_measure () |
| bool | set_ready_state () |
| bool | slash_to_back_slash (std::string &str) |
| std::string | get_file_mime_tipe (const std::string &path) |
| std::string | get_response_header (const http_response_info &response) |
| bool | handle_request_and_send_response (const http::http_request_info &query_info) |
| std::string | get_not_found_response_body (const std::string &URI) |
Private Attributes | |
| std::string | m_root_path |
| std::string | m_cache |
| machine_state | m_state |
| body_transfer_type | m_body_transfer_type |
| bool | m_is_stop_handling |
| http::http_request_info | m_query_info |
| size_t | m_len_summary |
| size_t | m_len_remain |
| config_type & | m_config |
| bool | m_want_close |
| size_t | m_newlines |
| size_t | m_bytes_read |
| typedef http_server_config epee::net_utils::http::simple_http_connection_handler< t_connection_context >::config_type |
| typedef t_connection_context epee::net_utils::http::simple_http_connection_handler< t_connection_context >::connection_context |
|
private |
|
private |
| epee::net_utils::http::simple_http_connection_handler< t_connection_context >::simple_http_connection_handler | ( | i_service_endpoint * | psnd_hndlr, |
| config_type & | config, | ||
| t_connection_context & | conn_context ) |
|
virtual |
| bool epee::net_utils::http::simple_http_connection_handler< t_connection_context >::after_init_connection | ( | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
virtual |
|
virtual |
Reimplemented in epee::net_utils::http::http_custom_handler< t_connection_context >.
|
inlineprivate |
|
private |
|
private |
|
private |
|
inline |
|
private |
|
private |
|
inlinevirtual |
Reimplemented in epee::net_utils::http::http_custom_handler< t_connection_context >.
|
inlinevirtual |
Reimplemented in epee::net_utils::http::http_custom_handler< t_connection_context >.
|
private |
|
private |
|
private |
|
private |
|
protected |
|
protected |
|
private |
|
private |
|
private |
|
private |
|
protected |
|
private |
|
private |
|
private |
|
private |