summaryrefslogtreecommitdiff
path: root/include/tgbot/net/Url.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/tgbot/net/Url.h')
-rw-r--r--include/tgbot/net/Url.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/tgbot/net/Url.h b/include/tgbot/net/Url.h
index 818e934..56f502a 100644
--- a/include/tgbot/net/Url.h
+++ b/include/tgbot/net/Url.h
@@ -34,32 +34,32 @@ namespace TgBot {
class Url {
public:
- Url(const std::string& url);
+ Url(const std::string& url);
/**
* Protocol part of an url. Example: https://
*/
- std::string protocol;
+ std::string protocol;
/**
* Host part of an url. Example: www.example.com
*/
- std::string host;
+ std::string host;
/**
* Path part of an url including preceding '/' char. Example: /index.html
*/
- std::string path;
+ std::string path;
/**
* Query part of an url without '?' char. Example: a=1&b=2&c=3
*/
- std::string query;
+ std::string query;
/**
* Fragment part of an url without '#' char. Example: section1
*/
- std::string fragment;
+ std::string fragment;
};
}