Template Struct client_connection_wrapper

Struct Documentation

template<typename ContextT>
struct udho::detail::client_connection_wrapper

Public Types

typedef client_connection_wrapper<ContextT> self_type
typedef udho::detail::async_result<ContextT> result_type
typedef udho::config<udho::client_options> options_type

Public Functions

client_connection_wrapper(boost::asio::io_service &io, ContextT ctx, options_type options)
result_type &request(boost::beast::http::verb method, udho::url url)
result_type &get(udho::url url)
result_type &post(udho::url url)
result_type &put(udho::url url)
result_type &get(const std::string &url)
result_type &post(const std::string &url)
result_type &put(const std::string &url)

Public Members

boost::asio::io_service &_io
ContextT _context
options_type _options