ppforest2 v0.1.0
Projection Pursuit Decision Trees and Random Forests
Loading...
Searching...
No Matches
ppforest2::cli::serve::Response Struct Reference

Status, body, MIME content type, and extra response headers. More...

#include <ServeHandlers.hpp>

Public Attributes

std::string body
 
std::string content_type = "application/json"
 
std::map< std::string, std::string > headers
 
int status = 200
 

Detailed Description

Status, body, MIME content type, and extra response headers.

Member Data Documentation

◆ body

std::string ppforest2::cli::serve::Response::body

◆ content_type

std::string ppforest2::cli::serve::Response::content_type = "application/json"

◆ headers

std::map<std::string, std::string> ppforest2::cli::serve::Response::headers

◆ status

int ppforest2::cli::serve::Response::status = 200

The documentation for this struct was generated from the following file: