Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb::BaseRequest Struct Reference
Inheritance diagram for duckdb::BaseRequest:
Collaboration diagram for duckdb::BaseRequest:

Public Member Functions

 BaseRequest (RequestType type, const string &url, const HTTPHeaders &headers, HTTPParams &params)
 
template<class TARGET >
TARGETCast ()
 
template<class TARGET >
const TARGETCast () const
 

Static Public Member Functions

static HTTPHeaders MergeHeaders (const HTTPHeaders &headers, HTTPParams &params)
 

Public Attributes

RequestType type
 
const string & url
 
string path
 
string proto_host_port
 
HTTPHeaders headers
 
HTTPParamsparams
 
bool try_request = false
 Whether or not to return failed requests (instead of throwing)
 
bool have_request_timing = false
 
timestamp_t request_start
 
timestamp_t request_end
 

Member Function Documentation

◆ Cast() [1/2]

template<class TARGET >
TARGET & duckdb::BaseRequest::Cast ( )
inline
53187 {
53188 return reinterpret_cast<TARGET &>(*this);
53189 }

◆ Cast() [2/2]

template<class TARGET >
const TARGET & duckdb::BaseRequest::Cast ( ) const
inline
53191 {
53192 return reinterpret_cast<const TARGET &>(*this);
53193 }

◆ MergeHeaders()

static HTTPHeaders duckdb::BaseRequest::MergeHeaders ( const HTTPHeaders headers,
HTTPParams params 
)
inlinestatic
53195 {
53196 HTTPHeaders result = headers;
53197 for (const auto &header : params.extra_headers) {
53198 result.Insert(header.first, header.second);
53199 }
53200 return result;
53201 }

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