| 115 | } |
| 116 | |
| 117 | void |
| 118 | on_connect(beast::error_code ec, tcp::resolver::results_type::endpoint_type) |
| 119 | { |
| 120 | if(ec) |
| 121 | return fail(ec, "connect"); |
| 122 | |
| 123 | // Perform the SSL handshake |
| 124 | stream_.async_handshake( |
| 125 | ssl::stream_base::client, |
| 126 | beast::bind_front_handler( |
| 127 | &session::on_handshake, |
| 128 | shared_from_this())); |
| 129 | } |
| 130 | |
| 131 | void |
| 132 | on_handshake(beast::error_code ec) |
nothing calls this directly
no test coverage detected