ppforest2 v0.1.0
Projection Pursuit Decision Trees and Random Forests
Loading...
Searching...
No Matches
ServeParams.hpp
Go to the documentation of this file.
1
5#pragma once
6
7#include <cstddef>
8#include <cstdint>
9#include <string>
10
11namespace ppforest2::cli {
13 struct ServeParams {
14 std::string host = "127.0.0.1";
15 uint16_t port = 8080;
16 std::size_t max_body_bytes = 1024UL * 1024UL;
17 };
18}
Command-line interface: argument parsing, subcommands, and benchmark/evaluation orchestration.
Definition Benchmark.hpp:25
serve subcommand options. CLI-exclusive; no config file roundtrip.
Definition ServeParams.hpp:13
uint16_t port
Definition ServeParams.hpp:15
std::size_t max_body_bytes
Definition ServeParams.hpp:16
std::string host
Definition ServeParams.hpp:14