23 class WsgiInputStreamIterator :
public AddonClass
26 WsgiInputStreamIterator();
27 ~WsgiInputStreamIterator()
override;
29#ifdef DOXYGEN_SHOULD_USE_THIS
40 String
read(
unsigned long size = 0)
const;
43#ifdef DOXYGEN_SHOULD_USE_THIS
55 String readline(
unsigned long size = 0)
const;
58#ifdef DOXYGEN_SHOULD_USE_THIS
70 std::vector<String> readlines(
unsigned long sizehint = 0)
const;
73#if !defined SWIG && !defined DOXYGEN_SHOULD_SKIP_THIS
74 WsgiInputStreamIterator(
const String& data,
bool end =
false);
76 WsgiInputStreamIterator& operator++();
77 bool operator==(
const WsgiInputStreamIterator& rhs);
78 bool operator!=(
const WsgiInputStreamIterator& rhs);
80 inline bool end()
const {
return m_remaining <= 0; }
84 mutable unsigned long m_offset = 0;
85 mutable unsigned long m_remaining = 0;