| 
    rippled
    
   | 
 
#include <WorkPlain.h>


Public Types | |
| using | callback_type = std::function< void(error_code const &, endpoint_type const &, response_type &&)> | 
Public Member Functions | |
| WorkPlain (std::string const &host, std::string const &path, std::string const &port, boost::asio::io_context &ios, endpoint_type const &lastEndpoint, bool lastStatus, callback_type cb) | |
| ~WorkPlain ()=default | |
| WorkPlain & | impl () | 
| void | run () override | 
| void | cancel () override | 
| void | fail (error_code const &ec) | 
| void | onResolve (error_code const &ec, results_type results) | 
| void | onConnect (error_code const &ec, endpoint_type const &endpoint) | 
| void | onStart () | 
| void | onRequest (error_code const &ec) | 
| void | onResponse (error_code const &ec) | 
| T | shared_from_this (T... args) | 
| T | weak_from_this (T... args) | 
Protected Types | |
| using | error_code = boost::system::error_code | 
| using | endpoint_type = boost::asio::ip::tcp::endpoint | 
| using | socket_type = boost::asio::ip::tcp::socket | 
| using | resolver_type = boost::asio::ip::tcp::resolver | 
| using | results_type = boost::asio::ip::tcp::resolver::results_type | 
| using | request_type = boost::beast::http::request< boost::beast::http::empty_body > | 
Protected Attributes | |
| std::string | host_ | 
| std::string | path_ | 
| std::string | port_ | 
| callback_type | cb_ | 
| boost::asio::io_context & | ios_ | 
| boost::asio::strand< boost::asio::io_context::executor_type > | strand_ | 
| resolver_type | resolver_ | 
| socket_type | socket_ | 
| request_type | req_ | 
| response_type | res_ | 
| boost::beast::multi_buffer | readBuf_ | 
| endpoint_type | lastEndpoint_ | 
| bool | lastStatus_ | 
Private Member Functions | |
| void | onConnect (error_code const &ec) | 
| socket_type & | stream () | 
| void | close () | 
Friends | |
| class | WorkBase< WorkPlain > | 
Definition at line 11 of file WorkPlain.h.
      
  | 
  protectedinherited | 
Definition at line 24 of file WorkBase.h.
      
  | 
  protectedinherited | 
Definition at line 25 of file WorkBase.h.
      
  | 
  inherited | 
Definition at line 28 of file WorkBase.h.
      
  | 
  protectedinherited | 
Definition at line 32 of file WorkBase.h.
      
  | 
  protectedinherited | 
Definition at line 33 of file WorkBase.h.
      
  | 
  protectedinherited | 
Definition at line 34 of file WorkBase.h.
      
  | 
  protectedinherited | 
Definition at line 35 of file WorkBase.h.
| ripple::detail::WorkPlain::WorkPlain | ( | std::string const & | host, | 
| std::string const & | path, | ||
| std::string const & | port, | ||
| boost::asio::io_context & | ios, | ||
| endpoint_type const & | lastEndpoint, | ||
| bool | lastStatus, | ||
| callback_type | cb | ||
| ) | 
Definition at line 40 of file WorkPlain.h.
      
  | 
  default | 
      
  | 
  private | 
Definition at line 53 of file WorkPlain.h.
      
  | 
  private | 
Definition at line 32 of file WorkPlain.h.
      
  | 
  inherited | 
Definition at line 64 of file WorkBase.h.
      
  | 
  overridevirtualinherited | 
Implements ripple::detail::Work.
Definition at line 70 of file WorkBase.h.
      
  | 
  overridevirtualinherited | 
Implements ripple::detail::Work.
Definition at line 73 of file WorkBase.h.
      
  | 
  inherited | 
Definition at line 76 of file WorkBase.h.
      
  | 
  inherited | 
Definition at line 79 of file WorkBase.h.
      
  | 
  inherited | 
Definition at line 82 of file WorkBase.h.
      
  | 
  inherited | 
Definition at line 85 of file WorkBase.h.
      
  | 
  inherited | 
Definition at line 88 of file WorkBase.h.
      
  | 
  inherited | 
Definition at line 91 of file WorkBase.h.
      
  | 
  privateinherited | 
Definition at line 95 of file WorkBase.h.
Definition at line 53 of file WorkPlain.h.
      
  | 
  protectedinherited | 
Definition at line 38 of file WorkBase.h.
      
  | 
  protectedinherited | 
Definition at line 39 of file WorkBase.h.
      
  | 
  protectedinherited | 
Definition at line 40 of file WorkBase.h.
      
  | 
  protectedinherited | 
Definition at line 41 of file WorkBase.h.
      
  | 
  protectedinherited | 
Definition at line 42 of file WorkBase.h.
      
  | 
  protectedinherited | 
Definition at line 43 of file WorkBase.h.
      
  | 
  protectedinherited | 
Definition at line 44 of file WorkBase.h.
      
  | 
  protectedinherited | 
Definition at line 45 of file WorkBase.h.
      
  | 
  protectedinherited | 
Definition at line 46 of file WorkBase.h.
      
  | 
  protectedinherited | 
Definition at line 47 of file WorkBase.h.
      
  | 
  protectedinherited | 
Definition at line 48 of file WorkBase.h.
      
  | 
  protectedinherited | 
Definition at line 49 of file WorkBase.h.
      
  | 
  protectedinherited | 
Definition at line 50 of file WorkBase.h.