kaycxx-http
HTTP client library
Loading...
Searching...
No Matches
kaycxx
http
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
9
namespace
kaycxx::http {
10
11
class
client
;
12
14
class
response_body
{
15
public
:
21
response_body
(std::ostream& output)
noexcept
;
22
23
private
:
25
std::reference_wrapper<std::ostream> output_;
26
27
friend
class
client;
28
};
29
30
}
// namespace kaycxx::http
kaycxx::http::client
Synchronous HTTP client.
Definition
client.hpp:24
kaycxx::http::response_body::response_body
response_body(std::ostream &output) noexcept
Creates a response body destination.
Generated by
1.15.0