Monero
Public Types | Public Member Functions | Private Attributes | List of all members
epee::net_utils::http::http_custom_handler< t_connection_context > Class Template Reference

#include <http_protocol_handler.h>

Inheritance diagram for epee::net_utils::http::http_custom_handler< t_connection_context >:
Inheritance graph
[legend]
Collaboration diagram for epee::net_utils::http::http_custom_handler< t_connection_context >:
Collaboration graph
[legend]

Public Types

typedef custum_handler_config< t_connection_context > config_type
 
- Public Types inherited from epee::net_utils::http::simple_http_connection_handler< t_connection_context >
typedef t_connection_context connection_context
 
typedef http_server_config config_type
 

Public Member Functions

 http_custom_handler (i_service_endpoint *psnd_hndlr, config_type &config, t_connection_context &conn_context)
 
bool handle_request (const http_request_info &query_info, http_response_info &response)
 
virtual bool thread_init ()
 
virtual bool thread_deinit ()
 
void handle_qued_callback ()
 
- Public Member Functions inherited from 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 ~simple_http_connection_handler ()
 
bool release_protocol ()
 
bool after_init_connection ()
 
virtual bool handle_recv (const void *ptr, size_t cb)
 

Private Attributes

config_typem_config
 
http_server_auth m_auth
 

Additional Inherited Members

- Protected Attributes inherited from epee::net_utils::http::simple_http_connection_handler< t_connection_context >
i_service_endpointm_psnd_hndlr
 
t_connection_context & m_conn_context
 
bool m_initialized
 

Member Typedef Documentation

◆ config_type

template<class t_connection_context = net_utils::connection_context_base>
typedef custum_handler_config<t_connection_context> epee::net_utils::http::http_custom_handler< t_connection_context >::config_type

Constructor & Destructor Documentation

◆ http_custom_handler()

template<class t_connection_context = net_utils::connection_context_base>
epee::net_utils::http::http_custom_handler< t_connection_context >::http_custom_handler ( i_service_endpoint psnd_hndlr,
config_type config,
t_connection_context &  conn_context 
)
inline

Member Function Documentation

◆ handle_qued_callback()

template<class t_connection_context = net_utils::connection_context_base>
void epee::net_utils::http::http_custom_handler< t_connection_context >::handle_qued_callback ( )
inline

◆ handle_request()

template<class t_connection_context = net_utils::connection_context_base>
bool epee::net_utils::http::http_custom_handler< t_connection_context >::handle_request ( const http_request_info query_info,
http_response_info response 
)
inlinevirtual

◆ thread_deinit()

template<class t_connection_context = net_utils::connection_context_base>
virtual bool epee::net_utils::http::http_custom_handler< t_connection_context >::thread_deinit ( )
inlinevirtual

◆ thread_init()

template<class t_connection_context = net_utils::connection_context_base>
virtual bool epee::net_utils::http::http_custom_handler< t_connection_context >::thread_init ( )
inlinevirtual

Member Data Documentation

◆ m_auth

template<class t_connection_context = net_utils::connection_context_base>
http_server_auth epee::net_utils::http::http_custom_handler< t_connection_context >::m_auth
private

◆ m_config

template<class t_connection_context = net_utils::connection_context_base>
config_type& epee::net_utils::http::http_custom_handler< t_connection_context >::m_config
private

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