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

An owned copy of the parts of a request the proxy forwards. The original HttpRequest, and the connection buffer its headers point into, are gone long before the asynchronous upstream connect completes. More...

#include <Proxy.hpp>

Public Attributes

std::string method
 
std::string target
 
std::vector< std::pair< std::string, std::string > > headers
 
std::string body
 
std::string client_ip
 

Detailed Description

An owned copy of the parts of a request the proxy forwards. The original HttpRequest, and the connection buffer its headers point into, are gone long before the asynchronous upstream connect completes.

Member Data Documentation

◆ body

std::string orbit::middleware::detail::ProxiedRequest::body

◆ client_ip

std::string orbit::middleware::detail::ProxiedRequest::client_ip

◆ headers

std::vector<std::pair<std::string, std::string> > orbit::middleware::detail::ProxiedRequest::headers

◆ method

std::string orbit::middleware::detail::ProxiedRequest::method

◆ target

std::string orbit::middleware::detail::ProxiedRequest::target

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