|
| using | parser = boost::beast::http::basic_parser< false > |
| |
Definition at line 28 of file DatabaseDownloader.h.
◆ error_code
◆ parser
◆ DatabaseDownloader()
| ripple::DatabaseDownloader::DatabaseDownloader |
( |
boost::asio::io_service & |
io_service, |
|
|
beast::Journal |
j, |
|
|
Config const & |
config |
|
) |
| |
◆ getParser()
| auto ripple::DatabaseDownloader::getParser |
( |
boost::filesystem::path |
dstPath, |
|
|
std::function< void(boost::filesystem::path)> |
complete, |
|
|
boost::system::error_code & |
ec |
|
) |
| |
|
overrideprivatevirtual |
◆ checkPath()
| bool ripple::DatabaseDownloader::checkPath |
( |
boost::filesystem::path const & |
dstPath | ) |
|
|
overrideprivatevirtual |
◆ closeBody()
◆ size()
◆ download()
| bool ripple::SSLHTTPDownloader::download |
( |
std::string const & |
host, |
|
|
std::string const & |
port, |
|
|
std::string const & |
target, |
|
|
int |
version, |
|
|
boost::filesystem::path const & |
dstPath, |
|
|
std::function< void(boost::filesystem::path)> |
complete |
|
) |
| |
|
inherited |
◆ onStop()
| void ripple::SSLHTTPDownloader::onStop |
( |
| ) |
|
|
inherited |
◆ fail()
| void ripple::SSLHTTPDownloader::fail |
( |
boost::filesystem::path |
dstPath, |
|
|
std::function< void(boost::filesystem::path)> const & |
complete, |
|
|
boost::system::error_code const & |
ec, |
|
|
std::string const & |
errMsg, |
|
|
std::shared_ptr< parser > |
parser |
|
) |
| |
|
protectedinherited |
◆ do_session()
| void ripple::SSLHTTPDownloader::do_session |
( |
std::string |
host, |
|
|
std::string |
port, |
|
|
std::string |
target, |
|
|
int |
version, |
|
|
boost::filesystem::path |
dstPath, |
|
|
std::function< void(boost::filesystem::path)> |
complete, |
|
|
boost::asio::yield_context |
yield |
|
) |
| |
|
privateinherited |
◆ MAX_PATH_LEN
◆ config_
| Config const& ripple::DatabaseDownloader::config_ |
|
private |
◆ io_service_
| boost::asio::io_service& ripple::DatabaseDownloader::io_service_ |
|
private |
◆ j_
◆ ssl_ctx_
◆ strand_
| boost::asio::io_service::strand ripple::SSLHTTPDownloader::strand_ |
|
privateinherited |
◆ stream_
| boost::optional<boost::asio::ssl::stream<boost::asio::ip::tcp::socket> > ripple::SSLHTTPDownloader::stream_ |
|
privateinherited |
◆ read_buf_
| boost::beast::flat_buffer ripple::SSLHTTPDownloader::read_buf_ |
|
privateinherited |
◆ cancelDownloads_
| std::atomic<bool> ripple::SSLHTTPDownloader::cancelDownloads_ |
|
privateinherited |
◆ m_
◆ sessionActive_
| bool ripple::SSLHTTPDownloader::sessionActive_ |
|
privateinherited |
◆ c_