Darknet/YOLO v3.0-88-gdee7eef
Object Detection Framework
 
Loading...
Searching...
No Matches
httplib::Stream Class Referenceabstract

#include "httplib.hpp"

Inheritance diagram for httplib::Stream:

Public Member Functions

virtual ~Stream ()=default
 
virtual std::string get_remote_addr () const =0
 
virtual int read (char *ptr, size_t size)=0
 
virtual int write (const char *ptr)=0
 
virtual int write (const char *ptr, size_t size1)=0
 
virtual int write (const std::string &s)=0
 
template<typename... Args>
int write_format (const char *fmt, const Args &... args)
 

Constructor & Destructor Documentation

◆ ~Stream()

virtual httplib::Stream::~Stream ( )
virtualdefault

Member Function Documentation

◆ get_remote_addr()

virtual std::string httplib::Stream::get_remote_addr ( ) const
pure virtual

Implemented in httplib::SocketStream, and httplib::BufferStream.

Here is the caller graph for this function:

◆ read()

virtual int httplib::Stream::read ( char *  ptr,
size_t  size 
)
pure virtual

Implemented in httplib::SocketStream, and httplib::BufferStream.

Here is the caller graph for this function:

◆ write() [1/3]

virtual int httplib::Stream::write ( const char *  ptr)
pure virtual

◆ write() [2/3]

virtual int httplib::Stream::write ( const char *  ptr,
size_t  size1 
)
pure virtual

Implemented in httplib::SocketStream, and httplib::BufferStream.

Here is the caller graph for this function:

◆ write() [3/3]

virtual int httplib::Stream::write ( const std::string &  s)
pure virtual

◆ write_format()

template<typename... Args>
int httplib::Stream::write_format ( const char *  fmt,
const Args &...  args 
)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

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