Google APIs Client Library for C++
uri_utils.h File Reference
#include <string>
#include <utility>
#include <vector>
#include "googleapis/client/util/date_time.h"
#include "googleapis/strings/numbers.h"
#include "googleapis/strings/strcat.h"
#include "googleapis/strings/stringpiece.h"

Go to the source code of this file.

Classes

class  ParsedUrl
 Parses a url as described in 2.4 of RFC 1808. More...

Namespaces

namespace  googleapis
 

A service request pager acts as a high level iterator for paging through results.


namespace  googleapis::client
 

namespace thread


Functions

string ResolveUrl (const StringPiece &base_url, const StringPiece &new_url)
 Resolve a [possibly] relative url into an absolute url.
string JoinPath (const StringPiece &a, const StringPiece &b)
 Join two fragments together into a path.
string EscapeForUrl (const StringPiece &s)
 Escape a string so that it is valid in a URL.
bool UnescapeFromUrl (const StringPiece &s, string *to)
template<typename T >
string CppValueToEscapedUrlValue (const T &value)
 Templated function that encodes a primitive C++ value for use in a URL.
template<typename T >
void AppendIteratorToUrl (const T &begin, const T &end, const StringPiece param_name, string *target)
 Templated function that encodes a C++ STL container for use as in a URL.
template<>
string CppValueToEscapedUrlValue< char > (const char &value)
 Implements append a character value into a URL.
template<>
string CppValueToEscapedUrlValue< bool > (const bool &value)
 Implements append a boolean value into a URL.
template<>
string CppValueToEscapedUrlValue< float > (const float &value)
 Implements append a float value into a URL.
template<>
string CppValueToEscapedUrlValue< double > (const double &value)
 Implements append a double value into a URL.
template<>
string CppValueToEscapedUrlValue< string > (const string &value)
 Implements append a string value into a URL.
template<>
string CppValueToEscapedUrlValue< DateTime > (const DateTime &value)
 Implements append a DateTime value into a URL.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines