6#include <kaycxx/http/header.hpp>
7#include <kaycxx/http/response_base.hpp>
11namespace kaycxx::http {
int status_code() const noexcept
Returns the HTTP status code.
response_base(int status_code, std::vector< kaycxx::http::header > headers)
Creates common HTTP response data.
const std::vector< kaycxx::http::header > & headers() const &noexcept
Returns all response headers in their received order.
streamed_response(int status_code, std::vector< kaycxx::http::header > headers={})
Creates a successful streamed HTTP response.