Orbit Framework 2.0.0
A high-performance asynchronous C++20 HTTP server framework.
Loading...
Searching...
No Matches
orbit::middleware::RequestIdOptions Struct Reference

Options for request_id(). More...

#include <Observability.hpp>

Public Attributes

std::string header = "X-Request-ID"
 
bool trust_incoming = true
 

Detailed Description

Options for request_id().

Member Data Documentation

◆ header

std::string orbit::middleware::RequestIdOptions::header = "X-Request-ID"

◆ trust_incoming

bool orbit::middleware::RequestIdOptions::trust_incoming = true

Reuse a well-formed ID sent by the client or an upstream proxy (up to 128 characters of [A-Za-z0-9._:-]); otherwise always generate one.


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