1#ifndef TENDUKE_NET_CURL_LIBCURLURL_H
2#define TENDUKE_NET_CURL_LIBCURLURL_H
8namespace tenduke {
namespace net {
namespace curl {
27 std::string
getPath()
const override;
28 void setPort(std::uint16_t port)
override;
29 std::string
toString()
const override;
40 virtual void parse(
const std::string &url);
57std::multimap<std::string, std::string>
parseQueryString(
const char * queryString);
Represents URL.
Definition URL.h:15
Libcurl-based implementation of tenduke::net::URL.
Definition LibcurlURL.h:14
void setPort(std::uint16_t port) override
Sets port.
Definition LibcurlURL.cpp:109
std::string getPath() const override
Returns path, URL-decoded.
Definition LibcurlURL.cpp:130
virtual void parse(const std::string &url)
Parses given URL into this instance.
Definition LibcurlURL.cpp:50
std::string toString() const override
Returns the URL as string.
Definition LibcurlURL.cpp:104
std::multimap< std::string, std::string > getQueryParameters() const override
Returns the query parameters, URL-decoded.
Definition LibcurlURL.cpp:135
std::multimap< std::string, std::string > parseQueryString(const char *queryString)
Utility function to parse query string into a map.
Definition LibcurlURL.cpp:148
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4