Malloy
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
malloy::client::http::connection< Derived, ReqBody, Filter, Callback > Class Template Reference

#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 (char const *port, 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
 

Detailed Description

template<class Derived, malloy::http::concepts::body ReqBody, concepts::response_filter Filter, typename Callback>
class malloy::client::http::connection< Derived, ReqBody, Filter, Callback >

An HTTP connection.

Template Parameters
DerivedThe type inheriting from this class.

The documentation for this class was generated from the following file: