XML-RPC server that works over plain HTTP connections. More...
#include <http_server.h>
Public Member Functions | |
Http_server (const iqnet::Inet_addr &bind_addr, Executor_factory_base *ef) | |
![]() | |
Server (const iqnet::Inet_addr &addr, iqnet::Accepted_conn_factory *conn_factory, Executor_factory_base *executor_factory) | |
void | register_method (const std::string &name, Method_factory_base *) |
Register method using abstract factory. | |
void | push_dispatcher (Method_dispatcher_base *) |
void | push_interceptor (Interceptor *) |
void | enable_introspection () |
void | log_errors (std::ostream *) |
Set stream to log errors. Transfer NULL to turn loggin off. | |
void | set_max_request_sz (size_t) |
Set maximum size of incoming client's request in bytes. | |
size_t | get_max_request_sz () const |
void | set_firewall (iqnet::Firewall_base *) |
Set optional firewall object. | |
void | set_verification_level (http::Verification_level) |
http::Verification_level | get_verification_level () const |
void | set_auth_plugin (const Auth_Plugin_base &) |
iqnet::Reactor_base * | get_reactor () |
void | schedule_execute (http::Packet *, Server_connection *) |
void | schedule_response (const Response &, Server_connection *, Executor *) |
void | log_err_msg (const std::string &) |
void | work () |
Process accepting connections and methods dispatching. | |
void | set_exit_flag () |
Ask server to exit from work() event handle loop. | |
void | interrupt () |
Interrupt poll cycle. | |
Additional Inherited Members | |
![]() | |
iqnet::Accepted_conn_factory * | get_conn_factory () |
XML-RPC server that works over plain HTTP connections.