GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
httplib::detail::BodyReader Struct Reference

#include <httplib.h>

Collaboration diagram for httplib::detail::BodyReader:

Public Member Functions

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

Public Attributes

Stream * stream = 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< ChunkedDecoder > chunked_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
Here is the caller graph for this function:

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: