|
| mock_con (bool a, config::alog_type &b, config::elog_type &c) |
|
void | start () |
|
void | handle_start (const websocketpp::lib::error_code &ec) |
|
| connection (bool is_server, alog_type &alog, elog_type &elog) |
|
ptr | get_shared () |
| Get a shared pointer to this component.
|
|
bool | is_secure () const |
|
void | set_uri (uri_ptr u) |
| Set uri hook.
|
|
void | set_tcp_pre_init_handler (tcp_init_handler h) |
| Sets the tcp pre init handler.
|
|
void | set_tcp_init_handler (tcp_init_handler h) |
| Sets the tcp pre init handler (deprecated)
|
|
void | set_tcp_post_init_handler (tcp_init_handler h) |
| Sets the tcp post init handler.
|
|
void | set_proxy (std::string const &uri, lib::error_code &ec) |
| Set the proxy to connect through (exception free)
|
|
void | set_proxy (std::string const &uri) |
| Set the proxy to connect through (exception)
|
|
void | set_proxy_basic_auth (std::string const &username, std::string const &password, lib::error_code &ec) |
| Set the basic auth credentials to use (exception free)
|
|
void | set_proxy_basic_auth (std::string const &username, std::string const &password) |
| Set the basic auth credentials to use (exception)
|
|
void | set_proxy_timeout (long duration, lib::error_code &ec) |
| Set the proxy timeout duration (exception free)
|
|
void | set_proxy_timeout (long duration) |
| Set the proxy timeout duration (exception)
|
|
std::string const & | get_proxy () const |
|
std::string | get_remote_endpoint () const |
| Get the remote endpoint address.
|
|
connection_hdl | get_handle () const |
| Get the connection handle.
|
|
timer_ptr | set_timer (long duration, timer_handler callback) |
| Call back a function after a period of time.
|
|
void | handle_timer (timer_ptr, timer_handler callback, lib::asio::error_code const &ec) |
| Timer callback.
|
|
strand_ptr | get_strand () |
| Get a pointer to this connection's strand.
|
|
lib::asio::error_code | get_transport_ec () const |
| Get the internal transport error code for a closed/failed connection.
|
|
|
void | init (init_handler callback) |
| Initialize transport for reading.
|
|
lib::error_code | proxy_init (std::string const &authority) |
| initialize the proxy buffers and http parsers
|
|
lib::error_code | init_asio (io_service_ptr io_service) |
| Finish constructing the transport.
|
|
void | handle_pre_init (init_handler callback, lib::error_code const &ec) |
|
void | post_init (init_handler callback) |
|
void | handle_post_init_timeout (timer_ptr, init_handler callback, lib::error_code const &ec) |
| Post init timeout callback.
|
|
void | handle_post_init (timer_ptr post_timer, init_handler callback, lib::error_code const &ec) |
| Post init timeout callback.
|
|
void | proxy_write (init_handler callback) |
|
void | handle_proxy_timeout (init_handler callback, lib::error_code const &ec) |
|
void | handle_proxy_write (init_handler callback, lib::asio::error_code const &ec) |
|
void | proxy_read (init_handler callback) |
|
void | handle_proxy_read (init_handler callback, lib::asio::error_code const &ec, size_t) |
| Proxy read callback.
|
|
void | async_read_at_least (size_t num_bytes, char *buf, size_t len, read_handler handler) |
| read at least num_bytes bytes into buf and then call handler.
|
|
void | handle_async_read (read_handler handler, lib::asio::error_code const &ec, size_t bytes_transferred) |
|
void | async_write (const char *buf, size_t len, write_handler handler) |
| Initiate a potentially asyncronous write of the given buffer.
|
|
void | async_write (std::vector< buffer > const &bufs, write_handler handler) |
| Initiate a potentially asyncronous write of the given buffers.
|
|
void | handle_async_write (write_handler handler, lib::asio::error_code const &ec, size_t) |
| Async write callback.
|
|
void | set_handle (connection_hdl hdl) |
| Set Connection Handle.
|
|
lib::error_code | interrupt (interrupt_handler handler) |
| Trigger the on_interrupt handler.
|
|
lib::error_code | dispatch (dispatch_handler handler) |
|
void | async_shutdown (shutdown_handler callback) |
| close and clean up the underlying socket
|
|
void | handle_async_shutdown_timeout (timer_ptr, init_handler callback, lib::error_code const &ec) |
| Async shutdown timeout handler.
|
|
void | handle_async_shutdown (timer_ptr shutdown_timer, shutdown_handler callback, lib::asio::error_code const &ec) |
|
void | cancel_socket_checked () |
| Cancel the underlying socket and log any errors.
|
|
Definition at line 115 of file timers.cpp.