kaycxx-http
HTTP client library
Loading...
Searching...
No Matches
response_body.hpp
1// SPDX-FileCopyrightText: 2026 Klaus Reimer <k@ailis.de>
2// SPDX-License-Identifier: MIT
3
4#pragma once
5
6#include <functional>
7#include <iosfwd>
8
9namespace kaycxx::http {
10
11class client;
12
15public:
21 response_body(std::ostream& output) noexcept;
22
23private:
25 std::reference_wrapper<std::ostream> output_;
26
27 friend class client;
28};
29
30} // namespace kaycxx::http
Synchronous HTTP client.
Definition client.hpp:24
response_body(std::ostream &output) noexcept
Creates a response body destination.