27#include <olp/core/CoreApi.h>
28#include <olp/core/porting/optional.h>
46 static std::string
Decode(
const std::string& in);
55 static std::string
Encode(
const std::string& in);
67 const std::string& base,
const std::string& path,
68 const std::multimap<std::string, std::string>& query_params);
85 const std::string& url);
Builds and parses URLs.
Definition Url.h:36
std::pair< std::string, std::string > HostAndRest
Represents the host part and rest of full URL.
Definition Url.h:73
static std::string Encode(const std::string &in)
Encodes a given input string by escaping non-ASCII characters.
static std::string Construct(const std::string &base, const std::string &path, const std::multimap< std::string, std::string > &query_params)
Produces a full URL from a URL base, path, and query parameters.
static porting::optional< HostAndRest > ParseHostAndRest(const std::string &url)
Separates full URL to the host part the rest. Helps to split URL from credentials to parts passed to ...
static std::string Decode(const std::string &in)
Decodes a URL on a given input string by replacing percent-encoded characters with actual ones.
Rules all the other namespaces.
Definition AppleSignInProperties.h:24