|
|
RequestType | type |
|
const string & | url |
|
string | path |
|
string | proto_host_port |
|
HTTPHeaders | headers |
|
HTTPParams & | params |
|
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 |
◆ BaseRequest()
| duckdb::BaseRequest::BaseRequest |
( |
RequestType | type, |
|
|
const string & | url, |
|
|
const HTTPHeaders & | headers, |
|
|
HTTPParams & | params ) |
293732 : type(type), url(url), headers(MergeHeaders(headers, params)), params(params) {
293734}
static void DecomposeURL(const string &url, string &path_out, string &proto_host_port_out)
Definition duckdb.cpp:293960
◆ 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()
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: