Malloy
|
#include <connection.hpp>
Public Types | |
using | resp_t = typename Filter::response_type |
using | callback_t = Callback |
Public Member Functions | |
connection (std::shared_ptr< spdlog::logger > logger, boost::asio::io_context &io_ctx, const std::uint64_t body_limit) | |
void | run (malloy::http::request< ReqBody > req, std::promise< malloy::error_code > err_channel, callback_t &&cb, Filter &&filter) |
Protected Member Functions | |
void | send_request () |
Protected Attributes | |
std::shared_ptr< spdlog::logger > | m_logger |
An HTTP connection.
Derived | The type inheriting from this class. |