summaryrefslogtreecommitdiff
path: root/include/tgbot/net/Url.h
diff options
context:
space:
mode:
authorOleg Morozenkov <m@oleg.rocks>2018-07-23 02:35:50 +0300
committerOleg Morozenkov <m@oleg.rocks>2018-07-23 02:35:50 +0300
commit98b8b7e4338b71ee46c4301b0bf2ae667be9a99d (patch)
tree32f8b0d32048b2d83b57773c0efa3db9600b8701 /include/tgbot/net/Url.h
parent1dd3affe306793d2129f121c11e43c45ae8690da (diff)
parent167e3e7607e43a0f06c7f87ced94f481e6525b0e (diff)
Merge branch 'master' into nicholascw-master
Diffstat (limited to 'include/tgbot/net/Url.h')
-rw-r--r--include/tgbot/net/Url.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/include/tgbot/net/Url.h b/include/tgbot/net/Url.h
index c039355..f9226e5 100644
--- a/include/tgbot/net/Url.h
+++ b/include/tgbot/net/Url.h
@@ -35,32 +35,32 @@ namespace TgBot {
class Url {
public:
- Url(const std::string& url);
+ Url(const std::string& url);
- /**
- * @brief Protocol part of an url. Example: https://
- */
- std::string protocol;
+ /**
+ * @brief Protocol part of an url. Example: https://
+ */
+ std::string protocol;
- /**
- * @brief Host part of an url. Example: www.example.com
- */
- std::string host;
+ /**
+ * @brief Host part of an url. Example: www.example.com
+ */
+ std::string host;
- /**
- * @brief Path part of an url including preceding '/' char. Example: /index.html
- */
- std::string path;
+ /**
+ * @brief Path part of an url including preceding '/' char. Example: /index.html
+ */
+ std::string path;
- /**
- * @brief Query part of an url without '?' char. Example: a=1&b=2&c=3
- */
- std::string query;
+ /**
+ * @brief Query part of an url without '?' char. Example: a=1&b=2&c=3
+ */
+ std::string query;
- /**
- * @brief Fragment part of an url without '#' char. Example: section1
- */
- std::string fragment;
+ /**
+ * @brief Fragment part of an url without '#' char. Example: section1
+ */
+ std::string fragment;
};
}