#include <Url.h>
|
| Url () |
|
| Url (const std::string &urlString, bool isEscaped=false) |
|
std::string | str () const |
|
const char * | c_str () const |
|
|
static std::string | encode (const std::string &unescaped) |
|
cinder::Url::Url |
( |
const std::string & |
urlString, |
|
|
bool |
isEscaped = false |
|
) |
| |
|
explicit |
Constructs a URL from a string. If isEscaped is false, automatically calls Url::encode(). Assumes UTF-8 input.
std::string cinder::Url::str |
( |
| ) |
const |
Returns the string representation of the URL as std::string. Encoded as UTF-8.
const char* cinder::Url::c_str |
( |
| ) |
const |
Returns the string representation of the URL as char*. Encoded as UTF-8.
std::string cinder::Url::encode |
( |
const std::string & |
unescaped | ) |
|
|
static |
Replaces illegal URL characters as defined by RFC 2396 with their escaped equivalents and returns a copy of unescaped. Assumes UTF-8 input.
The documentation for this class was generated from the following files: