Monero
Loading...
Searching...
No Matches
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 >:
Collaboration diagram for epee::net_utils::http::http_custom_handler< t_connection_context >:

Public Types

typedef custum_handler_config< t_connection_context > config_type
Public Types inherited from epee::net_utils::http::simple_http_connection_handler< net_utils::connection_context_base >
typedef net_utils::connection_context_base 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< net_utils::connection_context_base >
 simple_http_connection_handler (i_service_endpoint *psnd_hndlr, config_type &config, net_utils::connection_context_base &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< net_utils::connection_context_base >
i_service_endpointm_psnd_hndlr
net_utils::connection_context_basem_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: