HttpHdrRangeIter Class Reference

#include <HttpHeaderRange.h>

Collaboration diagram for HttpHdrRangeIter:

Public Member Functions

const HttpHdrRangeSpeccurrentSpec () const
void updateSpec ()
int64_t debt () const
void debt (int64_t)

Public Attributes

HttpHdrRange::iterator pos
HttpHdrRange::iterator end
int64_t debt_size = 0
String boundary
bool valid = false

Detailed Description

Data for iterating thru range specs

Definition at line 95 of file HttpHeaderRange.h.

Member Function Documentation

◆ currentSpec()

const HttpHdrRangeSpec * HttpHdrRangeIter::currentSpec ( ) const

Definition at line 532 of file

References end, and pos.

Referenced by Http::Stream::packRange(), and updateSpec().

◆ debt() [1/2]

int64_t HttpHdrRangeIter::debt ( ) const

Definition at line 552 of file

References debt_size, and debugs.

Referenced by Http::Stream::packRange(), and updateSpec().

◆ debt() [2/2]

void HttpHdrRangeIter::debt ( int64_t  newDebt)

Definition at line 558 of file

References debt_size, and debugs.

◆ updateSpec()

void HttpHdrRangeIter::updateSpec ( )

Definition at line 541 of file

References assert, currentSpec(), debt(), debt_size, end, pos, and valid.

Referenced by ClientHttpRequest::prepPartialResponseGeneration().

Member Data Documentation

◆ boundary

◆ debt_size

int64_t HttpHdrRangeIter::debt_size = 0

◆ end

HttpHdrRange::iterator HttpHdrRangeIter::end

◆ pos

HttpHdrRange::iterator HttpHdrRangeIter::pos

◆ valid

bool HttpHdrRangeIter::valid = false

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






Web Site Translations