#include <https_client.h>
Public Member Functions | |
Https_proxy_client_connection (const iqnet::Socket &, bool non_block_flag) | |
void | handle_input (bool &) |
void | handle_output (bool &) |
![]() | |
void | set_options (const Client_options &o) |
Response | process_session (const Request &) |
![]() | |
Connection (const Socket &) | |
void | finish () |
virtual void | post_accept () |
virtual void | post_connect () |
const iqnet::Inet_addr & | get_peer_addr () const |
Socket::Handler | get_handler () const |
virtual size_t | send (const char *, size_t) |
virtual size_t | recv (char *, size_t) |
![]() | |
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 &) |
void | setup_tunnel () |
![]() | |
http::Packet * | read_response (const std::string &, bool read_hdr_only=false) |
const Client_options & | opts () const |
Protected Attributes | |
boost::scoped_ptr < iqnet::Reactor_base > | reactor |
boost::scoped_ptr< http::Packet > | resp_packet |
bool | non_blocking |
std::string | out_str |
![]() | |
unsigned | read_buf_sz |
char * | read_buf |
![]() | |
Socket | sock |
XML-RPC HTTPS PROXY client connection. DO NOT USE IT IN YOUR CODE.