libzypp 17.31.23
zyppng::NetworkRequestPrivate::running_t Struct Reference

#include </home/abuild/rpmbuild/BUILD/libzypp-17.31.23/zypp-curl/ng/network/private/request_p.h>

Public Member Functions

 running_t (pending_t &&prevState)
 
 running_t (prepareNextRangeBatch_t &&prevState)
 

Public Attributes

Timer::Ptr _activityTimer = Timer::create()
 
zypp::AutoFILE _outFile
 
off_t _currentRange = -1
 
std::optional< NetworkRequest::Range_currentSrvRange
 
bool _allHeadersReceived = false
 
bool _gotContentRangeHeader = false
 
bool _gotMultiRangeHeader = false
 
bool _requireStatusPartial = false
 
bool _isInCallback = false
 
std::optional< NetworkRequestError_cachedResult
 
off_t _lastProgressNow = -1
 
off_t _downloaded = 0
 
int _rangeAttemptIdx = 0
 
zypp::ByteCount _contentLenght
 
std::string _seperatorString
 The seperator string for multipart responses as defined in RFC 7233 Section 4.1.
 
std::vector< char > _rangePrefaceBuffer
 Here we buffer.
 

Detailed Description

Definition at line 173 of file request_p.h.

Constructor & Destructor Documentation

◆ running_t() [1/2]

zyppng::NetworkRequestPrivate::running_t::running_t ( pending_t &&  prevState)

Definition at line 96 of file request.cc.

◆ running_t() [2/2]

zyppng::NetworkRequestPrivate::running_t::running_t ( prepareNextRangeBatch_t &&  prevState)

Definition at line 100 of file request.cc.

Member Data Documentation

◆ _activityTimer

Timer::Ptr zyppng::NetworkRequestPrivate::running_t::_activityTimer = Timer::create()

Definition at line 177 of file request_p.h.

◆ _outFile

zypp::AutoFILE zyppng::NetworkRequestPrivate::running_t::_outFile

Definition at line 179 of file request_p.h.

◆ _currentRange

off_t zyppng::NetworkRequestPrivate::running_t::_currentRange = -1

Definition at line 180 of file request_p.h.

◆ _currentSrvRange

std::optional<NetworkRequest::Range> zyppng::NetworkRequestPrivate::running_t::_currentSrvRange

Definition at line 181 of file request_p.h.

◆ _allHeadersReceived

bool zyppng::NetworkRequestPrivate::running_t::_allHeadersReceived = false

Definition at line 183 of file request_p.h.

◆ _gotContentRangeHeader

bool zyppng::NetworkRequestPrivate::running_t::_gotContentRangeHeader = false

Definition at line 184 of file request_p.h.

◆ _gotMultiRangeHeader

bool zyppng::NetworkRequestPrivate::running_t::_gotMultiRangeHeader = false

Definition at line 185 of file request_p.h.

◆ _requireStatusPartial

bool zyppng::NetworkRequestPrivate::running_t::_requireStatusPartial = false

Definition at line 186 of file request_p.h.

◆ _isInCallback

bool zyppng::NetworkRequestPrivate::running_t::_isInCallback = false

Definition at line 189 of file request_p.h.

◆ _cachedResult

std::optional<NetworkRequestError> zyppng::NetworkRequestPrivate::running_t::_cachedResult

Definition at line 193 of file request_p.h.

◆ _lastProgressNow

off_t zyppng::NetworkRequestPrivate::running_t::_lastProgressNow = -1

Definition at line 195 of file request_p.h.

◆ _downloaded

off_t zyppng::NetworkRequestPrivate::running_t::_downloaded = 0

Definition at line 196 of file request_p.h.

◆ _rangeAttemptIdx

int zyppng::NetworkRequestPrivate::running_t::_rangeAttemptIdx = 0

Definition at line 197 of file request_p.h.

◆ _contentLenght

zypp::ByteCount zyppng::NetworkRequestPrivate::running_t::_contentLenght

Definition at line 198 of file request_p.h.

◆ _seperatorString

std::string zyppng::NetworkRequestPrivate::running_t::_seperatorString

The seperator string for multipart responses as defined in RFC 7233 Section 4.1.

Definition at line 201 of file request_p.h.

◆ _rangePrefaceBuffer

std::vector<char> zyppng::NetworkRequestPrivate::running_t::_rangePrefaceBuffer

Here we buffer.

Definition at line 202 of file request_p.h.


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