libhttppp ..
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
libhttppp::HttpClient Class Reference

Public Member Functions

 HttpClient (const HttpUrl &desturl, int vers=2)
 
void reconnect ()
 
void setTimeout (int timeout_sec)
 
const std::vector< char > Get (HttpRequest &nreq, size_t maxTries=0)
 
const std::vector< char > Post (HttpRequest &nreq, const std::vector< char > &post, size_t maxTries=0)
 
const std::vector< char > Put (HttpRequest &nreq, const std::vector< char > &put, size_t maxTries=0)
 
const std::vector< char > Delete (HttpRequest &nreq, size_t maxTries=0)
 
HttpResponse GetStream (HttpRequest &nreq)
 
size_t readBodyChunk (char *buf, size_t bufsize)
 
size_t readBodyChunkNonBlocking (char *buf, size_t bufsize)
 
bool isStreaming () const
 
bool waitReadable (int timeout_ms)
 

Static Public Member Functions

static netplus::TlsSessionCache & tlsSessionCache ()
 

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