HTTPDownloader Class Reference

Ratpac-two: RAT::HTTPDownloader Class Reference
Ratpac-two

Public Member Functions

void Disconnect ()
 
std::string Fetch (const std::string &url)
 

Protected Member Functions

void SetCurlOpts ()
 

Protected Attributes

CURL * handle
 
bool noproxy_set
 
std::ostringstream contents
 

Member Function Documentation

◆ Disconnect()

void HTTPDownloader::Disconnect ( )

This object will maintain a persistent connection to the HTTP server after a fetch. Call this method to force a disconnect;

◆ Fetch()

std::string HTTPDownloader::Fetch ( const std::string &  url)

Fetch the file at the given url


The documentation for this class was generated from the following files:
  • /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/db/include/RAT/HTTPDownloader.hh
  • /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/db/src/HTTPDownloader.cc