ofxHTTP
A collection of tools for HTTP.
ofx::HTTP::ProxySettings Class Reference
Inheritance diagram for ofx::HTTP::ProxySettings:
ofx::HTTP::Credentials

Public Member Functions

 ProxySettings (const std::string &host, uint16_t port)
 
 ProxySettings (const std::string &username, const std::string &password, const std::string &host, uint16_t port)
 
virtual void clear ()
 
std::string getHost () const
 
void setHost (const std::string &host)
 
uint16_t getPort () const
 
void setPort (uint16_t port)
 
- Public Member Functions inherited from ofx::HTTP::Credentials
 Credentials (const std::string &username, const std::string &password)
 
std::string getUsername () const
 
std::string getPassword () const
 
void setUsername (const std::string &username)
 
void setPassword (const std::string &password)
 
bool hasCredentials () const
 
std::string toString () const
 

Static Public Attributes

static const std::string DEFAULT_PROXY_HOST = ""
 
static const uint16_t DEFAULT_PROXY_PORT = 0
 

Protected Attributes

std::string _host
 
uint16_t _port
 
- Protected Attributes inherited from ofx::HTTP::Credentials
std::string _username
 
std::string _password
 

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