camcom 1.0.0-pre2
 
Loading...
Searching...
No Matches
httplib::detail::BodyReader Struct Reference

#include <httplib.h>

Public Member Functions

ssize_t read (char *buf, size_t len)
 
bool has_error () const
 

Public Attributes

Streamstream = nullptr
 
bool has_content_length = false
 
size_t content_length = 0
 
size_t payload_max_length = CPPHTTPLIB_PAYLOAD_MAX_LENGTH
 
size_t bytes_read = 0
 
bool chunked = false
 
bool eof = false
 
std::unique_ptr< ChunkedDecoderchunked_decoder
 
Error last_error = Error::Success
 

Member Function Documentation

◆ has_error()

bool httplib::detail::BodyReader::has_error ( ) const
inline

◆ read()

ssize_t httplib::detail::BodyReader::read ( char * buf,
size_t len )
inline

Member Data Documentation

◆ bytes_read

size_t httplib::detail::BodyReader::bytes_read = 0

◆ chunked

bool httplib::detail::BodyReader::chunked = false

◆ chunked_decoder

std::unique_ptr<ChunkedDecoder> httplib::detail::BodyReader::chunked_decoder

◆ content_length

size_t httplib::detail::BodyReader::content_length = 0

◆ eof

bool httplib::detail::BodyReader::eof = false

◆ has_content_length

bool httplib::detail::BodyReader::has_content_length = false

◆ last_error

Error httplib::detail::BodyReader::last_error = Error::Success

◆ payload_max_length

size_t httplib::detail::BodyReader::payload_max_length = CPPHTTPLIB_PAYLOAD_MAX_LENGTH

◆ stream

Stream* httplib::detail::BodyReader::stream = nullptr

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