EntropyEngine::Networking::WebDAV::WebDAVConnection::StreamState
EntropyEngine::Networking::WebDAV::WebDAVConnection::StreamState
Section titled “EntropyEngine::Networking::WebDAV::WebDAVConnection::StreamState”Internal state for streaming GET operations. More…
#include <WebDAVConnection.h>
Public Attributes
Section titled “Public Attributes”| Name | |
|---|---|
| size_t | tail Write index. |
| int | statusCode HTTP status code (e.g., 200, 404). |
| size_t | size Bytes currently stored. |
| size_t | receivedTotal Byte counter for cap enforcement. |
| bool | parserPaused true if llhttp parser is paused due to backpressure |
| size_t | maxBodyBytes Hard safety cap across whole message. |
| std::mutex | m Protects ring buffer state. |
| bool | headersReady true when HTTP headers parsed |
| std::unordered_map< std::string, std::string > | headers Response headers (lowercase keys). |
| size_t | head Read index. |
| std::string | failureReason Error description if failed. |
| bool | failed true on parse or network error |
| bool | done true when response complete |
| std::condition_variable | cv Signals data available/consumed. |
| std::string | curHeaderValue Temp accumulator for header value. |
| std::string | curHeaderField Temp accumulator for header field. |
| size_t | capacity Total capacity (buf.size()). |
| std::vector< uint8_t > | buf Ring buffer storage. |
Detailed Description
Section titled “Detailed Description”struct EntropyEngine::Networking::WebDAV::WebDAVConnection::StreamState;Internal state for streaming GET operations.
Ring buffer state shared between HTTP parser (producer) and WebDAVReadStream (consumer). Protected by mutex with condition variable.
Public Attributes Documentation
Section titled “Public Attributes Documentation”variable tail
Section titled “variable tail”size_t tail = 0;Write index.
variable statusCode
Section titled “variable statusCode”int statusCode = 0;HTTP status code (e.g., 200, 404).
variable size
Section titled “variable size”size_t size = 0;Bytes currently stored.
variable receivedTotal
Section titled “variable receivedTotal”size_t receivedTotal = 0;Byte counter for cap enforcement.
variable parserPaused
Section titled “variable parserPaused”bool parserPaused = false;true if llhttp parser is paused due to backpressure
variable maxBodyBytes
Section titled “variable maxBodyBytes”size_t maxBodyBytes = 0;Hard safety cap across whole message.
variable m
Section titled “variable m”std::mutex m;Protects ring buffer state.
variable headersReady
Section titled “variable headersReady”bool headersReady = false;true when HTTP headers parsed
variable headers
Section titled “variable headers”std::unordered_map< std::string, std::string > headers;Response headers (lowercase keys).
variable head
Section titled “variable head”size_t head = 0;Read index.
variable failureReason
Section titled “variable failureReason”std::string failureReason;Error description if failed.
variable failed
Section titled “variable failed”bool failed = false;true on parse or network error
variable done
Section titled “variable done”bool done = false;true when response complete
variable cv
Section titled “variable cv”std::condition_variable cv;Signals data available/consumed.
variable curHeaderValue
Section titled “variable curHeaderValue”std::string curHeaderValue;Temp accumulator for header value.
variable curHeaderField
Section titled “variable curHeaderField”std::string curHeaderField;Temp accumulator for header field.
variable capacity
Section titled “variable capacity”size_t capacity = 0;Total capacity (buf.size()).
variable buf
Section titled “variable buf”std::vector< uint8_t > buf;Ring buffer storage.
Updated on 2026-01-26 at 17:14:35 -0500