Yet Another HTTP Library
yahttp
|
#include <reqresp.hpp>
Public Member Functions | |
void | keyValuePair (const std::string &keyvalue, std::string &key, std::string &value) |
void | initialize (T *target) |
int | feed (const std::string &somedata) |
bool | ready () |
void | finalize () |
Public Attributes | |
T * | target |
int | state |
size_t | pos |
std::string | buffer |
bool | chunked |
int | chunk_size |
std::ostringstream | bodybuf |
size_t | maxbody |
size_t | minbody |
bool | hasBody |
Asynchronous HTTP document loader
int YaHTTP::AsyncLoader< T >::feed | ( | const std::string & | somedata | ) |
|
inline |
|
inline |
void YaHTTP::AsyncLoader< T >::keyValuePair | ( | const std::string & | keyvalue, |
std::string & | key, | ||
std::string & | value | ||
) |
|
inline |
std::ostringstream YaHTTP::AsyncLoader< T >::bodybuf |
std::string YaHTTP::AsyncLoader< T >::buffer |
int YaHTTP::AsyncLoader< T >::chunk_size |
bool YaHTTP::AsyncLoader< T >::chunked |
bool YaHTTP::AsyncLoader< T >::hasBody |
size_t YaHTTP::AsyncLoader< T >::maxbody |
size_t YaHTTP::AsyncLoader< T >::minbody |
size_t YaHTTP::AsyncLoader< T >::pos |
int YaHTTP::AsyncLoader< T >::state |
T* YaHTTP::AsyncLoader< T >::target |