XML-RPC HTTPS client's connection. More...
#include <https_client.h>
Public Types | |
typedef Https_proxy_client_connection | Proxy_connection |
Public Member Functions | |
Https_client_connection (const iqnet::Socket &, bool non_block_flag) | |
void | post_connect () |
void | connect_succeed () |
Overwrite it for client connection. | |
void | send_succeed (bool &) |
void | recv_succeed (bool &, size_t req_len, size_t real_len) |
![]() | |
void | set_options (const Client_options &o) |
Response | process_session (const Request &) |
![]() | |
Reaction_connection (const Socket &, Reactor_base *=0) | |
void | set_reactor (Reactor_base *r) |
A trick for supporting generic factory. | |
void | post_accept () |
Does ssl_accept() | |
void | post_connect () |
Does ssl_connect() | |
void | handle_input (bool &) |
void | handle_output (bool &) |
![]() | |
Connection (const Socket &sock) | |
void | shutdown () |
size_t | send (const char *, size_t) |
size_t | recv (char *, size_t) |
![]() | |
Connection (const Socket &) | |
void | finish () |
const iqnet::Inet_addr & | get_peer_addr () const |
Socket::Handler | get_handler () const |
![]() | |
virtual bool | is_stopper () const |
If this handler used as Reactor stopper. | |
virtual bool | catch_in_reactor () const |
Whether reactor should catch its exceptions. | |
virtual void | log_exception (const std::exception &) |
Log its exception catched in an external object. | |
virtual void | log_unknown_exception () |
Log its exception catched in an external object. | |
Protected Member Functions | |
http::Packet * | do_process_session (const std::string &) |
![]() | |
http::Packet * | read_response (const std::string &, bool read_hdr_only=false) |
const Client_options & | opts () const |
![]() | |
void | ssl_accept () |
Performs SSL accepting. | |
void | ssl_connect () |
Performs SSL connecting. | |
bool | reg_shutdown () |
Returns true if shutdown already performed. | |
void | reg_accept () |
void | reg_connect () |
void | reg_send (const char *, size_t) |
void | reg_recv (char *, size_t) |
virtual void | accept_succeed () |
Overwrite it for server connection. | |
![]() | |
bool | shutdown_recved () |
bool | shutdown_sent () |
Friends | |
class | Https_proxy_client_connection |
Additional Inherited Members | |
![]() | |
unsigned | read_buf_sz |
char * | read_buf |
![]() | |
ssl::Ctx * | ssl_ctx |
SSL * | ssl |
XML-RPC HTTPS client's connection.