uHTTP for C++
uHTTP::URL Class Reference

#include <URL.h>

Inheritance diagram for uHTTP::URL:
uHTTP::URI

Public Member Functions

 URL ()
 
 URL (const std::string &urlStr)
 
- Public Member Functions inherited from uHTTP::URI
 URI ()
 
 URI (const std::string &uriStr)
 
bool IsAbsoluteURI ()
 
void setString (const std::string &value)
 
const char * getSting ()
 
void setProtocol (const std::string &value)
 
const char * getProtocol ()
 
bool hasProtocol ()
 
bool isProtocol (const std::string &protocolPrefix)
 
bool isHTTP ()
 
bool isHTTPS ()
 
void setUser (const std::string &value)
 
const char * getUser ()
 
void setPassword (const std::string &value)
 
const char * getPassword ()
 
void setHost (const std::string &value)
 
const char * getHost ()
 
void setPort (int value)
 
int getPort ()
 
void setPath (const std::string &value)
 
const char * getPath ()
 
bool hasPath ()
 
void setQuery (const std::string &value)
 
const char * getQuery ()
 
bool hasQuery ()
 
void setFragment (const std::string &value)
 
const char * getFragment ()
 
bool hasFragment ()
 
bool isValid ()
 
void print ()
 

Additional Inherited Members

- Static Public Attributes inherited from uHTTP::URI
static const char * HTTP
 
static const char * HTTPS
 
static int HTTP_PORT
 
static int HTTPS_PORT
 
static const char * PROTOCOL_DELIM
 
static const char * USER_DELIM
 
static const char * COLON_DELIM
 
static const char * SLASH_DELIM
 
static const char * SBLACET_DELIM
 
static const char * EBLACET_DELIM
 
static const char * SHARP_DELIM
 
static const char * QUESTION_DELIM
 
- Protected Attributes inherited from uHTTP::URI
std::string uriStr
 
std::string protocol
 
std::string user
 
std::string password
 
std::string host
 
int port
 
std::string path
 
std::string query
 
std::string fragment
 

Constructor & Destructor Documentation

◆ URL() [1/2]

uHTTP::URL::URL ( )

◆ URL() [2/2]

uHTTP::URL::URL ( const std::string & urlStr)

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