3#include "../core/http/response.hpp"
4#include "../core/http/type_traits.hpp"
5#include "../core/type_traits.hpp"
10namespace malloy::client::concepts
19 template<malloy::http::concepts::body T>
23 typename F::header_type h2;
24 typename std::decay_t<T>::value_type r;
37 template<
typename Callback>
45 using body_t = std::decay_t<V>;
56 concept response_filter = std::move_constructible<F> &&
requires(
const F& f,
const typename F::header_type& h)
63 std::visit(detail::response_filter_body_helper<F>{}, f.body_for(h))
67 template<
typename F,
typename Filter>
70 std::visit(detail::http_cb_helper<F>{std::move(cb)}, f.body_for(h));
Definition: response.hpp:22
Definition: type_traits.hpp:68
Definition: type_traits.hpp:56
Definition: type_traits.hpp:123
Helper for http_callback concept.
Definition: type_traits.hpp:39
Definition: type_traits.hpp:18