D++ (DPP)
C++ Discord API Bot Library
|
#include <httplib.h>
Public Member Functions | |
virtual | ~Stream ()=default |
virtual bool | is_readable () const =0 |
virtual bool | is_writable () const =0 |
virtual ssize_t | read (char *ptr, size_t size)=0 |
virtual ssize_t | write (const char *ptr, size_t size)=0 |
virtual void | get_remote_ip_and_port (std::string &ip, int &port) const =0 |
virtual socket_t | socket () const =0 |
template<typename... Args> | |
ssize_t | write_format (const char *fmt, const Args &...args) |
ssize_t | write (const char *ptr) |
ssize_t | write (const std::string &s) |
|
virtualdefault |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
ssize_t httplib::Stream::write | ( | const char * | ptr | ) |
|
pure virtual |
ssize_t httplib::Stream::write | ( | const std::string & | s | ) |
ssize_t httplib::Stream::write_format | ( | const char * | fmt, |
const Args &... | args | ||
) |