FlatCityBuf C++ reader 0.8.0
Native C++17 reader for FlatCityBuf, the cloud-optimized CityJSON format
Loading...
Searching...
No Matches
fcb::CurlRangeReader::Impl Struct Reference

Public Member Functions

 ~Impl ()
 
void apply_common ()
 
void rebuild_headers ()
 
void capture_validator (const std::vector< std::string > &headers)
 

Public Attributes

std::string url
 
CurlOptions options
 
CURL * easy = nullptr
 
bool have_size = false
 
std::uint64_t size = 0
 
std::string validator
 
bool validator_is_etag = false
 
struct curl_slist * extra_headers = nullptr
 

Detailed Description

Definition at line 79 of file curl_range_reader.cpp.

Constructor & Destructor Documentation

◆ ~Impl()

fcb::CurlRangeReader::Impl::~Impl ( )
inline

Definition at line 89 of file curl_range_reader.cpp.

References easy, and extra_headers.

Member Function Documentation

◆ apply_common()

void fcb::CurlRangeReader::Impl::apply_common ( )
inline

◆ capture_validator()

void fcb::CurlRangeReader::Impl::capture_validator ( const std::vector< std::string > &  headers)
inline

Definition at line 120 of file curl_range_reader.cpp.

References validator, and validator_is_etag.

◆ rebuild_headers()

void fcb::CurlRangeReader::Impl::rebuild_headers ( )
inline

Member Data Documentation

◆ easy

CURL* fcb::CurlRangeReader::Impl::easy = nullptr

Definition at line 82 of file curl_range_reader.cpp.

Referenced by ~Impl(), apply_common(), and rebuild_headers().

◆ extra_headers

struct curl_slist* fcb::CurlRangeReader::Impl::extra_headers = nullptr

Definition at line 87 of file curl_range_reader.cpp.

Referenced by ~Impl(), and rebuild_headers().

◆ have_size

bool fcb::CurlRangeReader::Impl::have_size = false

Definition at line 83 of file curl_range_reader.cpp.

◆ options

CurlOptions fcb::CurlRangeReader::Impl::options

Definition at line 81 of file curl_range_reader.cpp.

Referenced by apply_common(), and rebuild_headers().

◆ size

std::uint64_t fcb::CurlRangeReader::Impl::size = 0

Definition at line 84 of file curl_range_reader.cpp.

◆ url

std::string fcb::CurlRangeReader::Impl::url

Definition at line 80 of file curl_range_reader.cpp.

Referenced by apply_common().

◆ validator

std::string fcb::CurlRangeReader::Impl::validator

Definition at line 85 of file curl_range_reader.cpp.

Referenced by capture_validator(), and rebuild_headers().

◆ validator_is_etag

bool fcb::CurlRangeReader::Impl::validator_is_etag = false

Definition at line 86 of file curl_range_reader.cpp.

Referenced by capture_validator(), and rebuild_headers().


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