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

#include <httplib.h>

Collaboration diagram for httplib::ClientImpl::StreamHandle:

Public Member Functions

 StreamHandle ()=default
 StreamHandle (const StreamHandle &)=delete
StreamHandle & operator= (const StreamHandle &)=delete
 StreamHandle (StreamHandle &&)=default
StreamHandle & operator= (StreamHandle &&)=default
 ~StreamHandle ()=default
bool is_valid () const
ssize_t read (char *buf, size_t len)
void parse_trailers_if_needed ()
Error get_read_error () const
bool has_read_error () const

Public Attributes

std::unique_ptr< Response > response
Error error = Error::Success
bool trailers_parsed_ = false

Friends

class ClientImpl

Constructor & Destructor Documentation

◆ StreamHandle() [1/3]

httplib::ClientImpl::StreamHandle::StreamHandle ( )
default
Here is the caller graph for this function:

◆ StreamHandle() [2/3]

httplib::ClientImpl::StreamHandle::StreamHandle ( const StreamHandle & )
delete

◆ StreamHandle() [3/3]

httplib::ClientImpl::StreamHandle::StreamHandle ( StreamHandle && )
default

◆ ~StreamHandle()

httplib::ClientImpl::StreamHandle::~StreamHandle ( )
default

Member Function Documentation

◆ get_read_error()

Error httplib::ClientImpl::StreamHandle::get_read_error ( ) const
inline

◆ has_read_error()

bool httplib::ClientImpl::StreamHandle::has_read_error ( ) const
inline

◆ is_valid()

bool httplib::ClientImpl::StreamHandle::is_valid ( ) const
inline

◆ operator=() [1/2]

StreamHandle & httplib::ClientImpl::StreamHandle::operator= ( const StreamHandle & )
delete

◆ operator=() [2/2]

StreamHandle & httplib::ClientImpl::StreamHandle::operator= ( StreamHandle && )
default

◆ parse_trailers_if_needed()

void httplib::ClientImpl::StreamHandle::parse_trailers_if_needed ( )
inline

◆ read()

ssize_t httplib::ClientImpl::StreamHandle::read ( char * buf,
size_t len )
inline

◆ ClientImpl

friend class ClientImpl
friend

Member Data Documentation

◆ error

Error httplib::ClientImpl::StreamHandle::error = Error::Success

◆ response

std::unique_ptr<Response> httplib::ClientImpl::StreamHandle::response

◆ trailers_parsed_

bool httplib::ClientImpl::StreamHandle::trailers_parsed_ = false

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