|
| session (net::io_context &ioc) |
|
void | run (char const *host, char const *port, char const *target, int version) |
|
void | on_resolve (beast::error_code ec, tcp::resolver::results_type results) |
|
void | on_connect (beast::error_code ec, tcp::resolver::results_type::endpoint_type) |
|
void | on_write (beast::error_code ec, std::size_t bytes_transferred) |
|
void | on_read (beast::error_code ec, std::size_t bytes_transferred) |
|
| session (net::executor ex, ssl::context &ctx) |
|
void | run (char const *host, char const *port, char const *target, int version) |
|
void | on_resolve (beast::error_code ec, tcp::resolver::results_type results) |
|
void | on_connect (beast::error_code ec, tcp::resolver::results_type::endpoint_type) |
|
void | on_handshake (beast::error_code ec) |
|
void | on_write (beast::error_code ec, std::size_t bytes_transferred) |
|
void | on_read (beast::error_code ec, std::size_t bytes_transferred) |
|
void | on_shutdown (beast::error_code ec) |
|
|
tcp::resolver | resolver_ |
|
beast::tcp_stream | stream_ |
|
beast::flat_buffer | buffer_ |
|
http::request< http::empty_body > | req_ |
|
http::response< http::string_body > | res_ |
|
beast::ssl_stream< beast::tcp_stream > | stream_ |
|
Definition at line 41 of file http_client_async.cpp.
◆ session() [1/2]
session::session |
( |
net::io_context & |
ioc | ) |
|
|
inlineexplicit |
◆ session() [2/2]
session::session |
( |
net::executor |
ex, |
|
|
ssl::context & |
ctx |
|
) |
| |
|
inlineexplicit |
◆ on_connect() [1/2]
void session::on_connect |
( |
beast::error_code |
ec, |
|
|
tcp::resolver::results_type::endpoint_type |
|
|
) |
| |
|
inline |
◆ on_connect() [2/2]
void session::on_connect |
( |
beast::error_code |
ec, |
|
|
tcp::resolver::results_type::endpoint_type |
|
|
) |
| |
|
inline |
◆ on_handshake()
void session::on_handshake |
( |
beast::error_code |
ec | ) |
|
|
inline |
◆ on_read() [1/2]
void session::on_read |
( |
beast::error_code |
ec, |
|
|
std::size_t |
bytes_transferred |
|
) |
| |
|
inline |
◆ on_read() [2/2]
void session::on_read |
( |
beast::error_code |
ec, |
|
|
std::size_t |
bytes_transferred |
|
) |
| |
|
inline |
◆ on_resolve() [1/2]
void session::on_resolve |
( |
beast::error_code |
ec, |
|
|
tcp::resolver::results_type |
results |
|
) |
| |
|
inline |
◆ on_resolve() [2/2]
void session::on_resolve |
( |
beast::error_code |
ec, |
|
|
tcp::resolver::results_type |
results |
|
) |
| |
|
inline |
◆ on_shutdown()
void session::on_shutdown |
( |
beast::error_code |
ec | ) |
|
|
inline |
◆ on_write() [1/2]
void session::on_write |
( |
beast::error_code |
ec, |
|
|
std::size_t |
bytes_transferred |
|
) |
| |
|
inline |
◆ on_write() [2/2]
void session::on_write |
( |
beast::error_code |
ec, |
|
|
std::size_t |
bytes_transferred |
|
) |
| |
|
inline |
◆ run() [1/2]
void session::run |
( |
char const * |
host, |
|
|
char const * |
port, |
|
|
char const * |
target, |
|
|
int |
version |
|
) |
| |
|
inline |
◆ run() [2/2]
void session::run |
( |
char const * |
host, |
|
|
char const * |
port, |
|
|
char const * |
target, |
|
|
int |
version |
|
) |
| |
|
inline |
◆ buffer_
beast::flat_buffer session::buffer_ |
|
private |
◆ req_
http::request< http::empty_body > session::req_ |
|
private |
◆ res_
http::response< http::string_body > session::res_ |
|
private |
◆ resolver_
tcp::resolver session::resolver_ |
|
private |
◆ stream_ [1/2]
beast::ssl_stream<beast::tcp_stream> session::stream_ |
|
private |
◆ stream_ [2/2]
beast::tcp_stream session::stream_ |
|
private |
The documentation for this class was generated from the following files: