|
| 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. More...
|
|
bool | is_secure () const |
|
void | set_uri (uri_ptr u) |
| Set uri hook. More...
|
|
void | set_tcp_pre_init_handler (tcp_init_handler h) |
| Sets the tcp pre init handler. More...
|
|
void | set_tcp_init_handler (tcp_init_handler h) |
| Sets the tcp pre init handler (deprecated) More...
|
|
void | set_tcp_post_init_handler (tcp_init_handler h) |
| Sets the tcp post init handler. More...
|
|
void | set_proxy (std::string const &uri, lib::error_code &ec) |
| Set the proxy to connect through (exception free) More...
|
|
void | set_proxy (std::string const &uri) |
| Set the proxy to connect through (exception) More...
|
|
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) More...
|
|
void | set_proxy_basic_auth (std::string const &username, std::string const &password) |
| Set the basic auth credentials to use (exception) More...
|
|
void | set_proxy_timeout (long duration, lib::error_code &ec) |
| Set the proxy timeout duration (exception free) More...
|
|
void | set_proxy_timeout (long duration) |
| Set the proxy timeout duration (exception) More...
|
|
std::string const & | get_proxy () const |
|
std::string | get_remote_endpoint () const |
| Get the remote endpoint address. More...
|
|
connection_hdl | get_handle () const |
| Get the connection handle. More...
|
|
timer_ptr | set_timer (long duration, timer_handler callback) |
| Call back a function after a period of time. More...
|
|
void | handle_timer (timer_ptr, timer_handler callback, lib::asio::error_code const &ec) |
| Timer callback. More...
|
|
strand_ptr | get_strand () |
| Get a pointer to this connection's strand. More...
|
|
lib::asio::error_code | get_transport_ec () const |
| Get the internal transport error code for a closed/failed connection. More...
|
|
| connection () |
|
ptr | get_shared () |
| Get a shared pointer to this component. More...
|
|
bool | is_secure () const |
| Check whether or not this connection is secure. More...
|
|
socket_type::lowest_layer_type & | get_raw_socket () |
| Retrieve a pointer to the underlying socket. More...
|
|
socket_type::next_layer_type & | get_next_layer () |
| Retrieve a pointer to the layer below the ssl stream. More...
|
|
socket_type & | get_socket () |
| Retrieve a pointer to the wrapped socket. More...
|
|
void | set_socket_init_handler (socket_init_handler h) |
| Set the socket initialization handler. More...
|
|
void | set_tls_init_handler (tls_init_handler h) |
| Set TLS init handler. More...
|
|
std::string | get_remote_endpoint (lib::error_code &ec) const |
| Get the remote endpoint address. More...
|
|
|
void | init (init_handler callback) |
| Initialize transport for reading. More...
|
|
lib::error_code | proxy_init (std::string const &authority) |
| initialize the proxy buffers and http parsers More...
|
|
lib::error_code | init_asio (io_service_ptr io_service) |
| Finish constructing the transport. More...
|
|
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. More...
|
|
void | handle_post_init (timer_ptr post_timer, init_handler callback, lib::error_code const &ec) |
| Post init timeout callback. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
void | async_write (std::vector< buffer > const &bufs, write_handler handler) |
| Initiate a potentially asyncronous write of the given buffers. More...
|
|
void | handle_async_write (write_handler handler, lib::asio::error_code const &ec, size_t) |
| Async write callback. More...
|
|
void | set_handle (connection_hdl hdl) |
| Set Connection Handle. More...
|
|
lib::error_code | interrupt (interrupt_handler handler) |
| Trigger the on_interrupt handler. More...
|
|
lib::error_code | dispatch (dispatch_handler handler) |
|
void | async_shutdown (shutdown_handler callback) |
| close and clean up the underlying socket More...
|
|
void | handle_async_shutdown_timeout (timer_ptr, init_handler callback, lib::error_code const &ec) |
| Async shutdown timeout handler. More...
|
|
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. More...
|
|
lib::error_code | init_asio (io_service_ptr service, strand_ptr strand, bool is_server) |
| Perform one time initializations. More...
|
|
void | set_uri (uri_ptr u) |
| Set hostname hook. More...
|
|
void | pre_init (init_handler callback) |
| Pre-initialize security policy. More...
|
|
void | post_init (init_handler callback) |
| Post-initialize security policy. More...
|
|
void | set_handle (connection_hdl hdl) |
| Sets the connection handle. More...
|
|
void | handle_init (init_handler callback, lib::asio::error_code const &ec) |
|
lib::error_code | get_ec () const |
|
lib::asio::error_code | cancel_socket () |
| Cancel all async operations on this socket. More...
|
|
void | async_shutdown (socket::shutdown_handler callback) |
|
template<typename ErrorCodeType > |
lib::error_code | translate_ec (ErrorCodeType ec) |
| Translate any security policy specific information about an error code. More...
|
|
lib::error_code | translate_ec (lib::error_code ec) |
| Overload of translate_ec to catch cases where lib::error_code is the same type as lib::asio::error_code. More...
|
|
Definition at line 115 of file timers.cpp.