forgeant docs-test-0
Build LLM-powered agents in C++
Loading...
Searching...
No Matches
response.hpp
Go to the documentation of this file.
1#ifndef FORGEANT_HTTP_RESPONSE_HPP
2#define FORGEANT_HTTP_RESPONSE_HPP
3
4#include <string>
5#include <unordered_map>
6
7namespace forgeant {
8
10 int status_code = 0;
11 std::unordered_map<std::string, std::string> headers;
12 std::string body;
13
14 bool operator==(const HttpResponse&) const = default;
15};
16
17} // namespace forgeant
18
19#endif // FORGEANT_HTTP_RESPONSE_HPP
Definition agent.hpp:25
Definition response.hpp:9
int status_code
Definition response.hpp:10
std::string body
Definition response.hpp:12
bool operator==(const HttpResponse &) const =default
std::unordered_map< std::string, std::string > headers
Definition response.hpp:11