summaryrefslogtreecommitdiff
path: root/include/tgbot/net/Url.h
diff options
context:
space:
mode:
authorOleg Morozenkov <omorozenkov@gmail.com>2015-08-11 22:13:23 +0300
committerOleg Morozenkov <omorozenkov@gmail.com>2015-08-11 22:13:23 +0300
commit376b88ec09ef8cf71dd823467406c58204485fcc (patch)
tree9ca599b854d18006c65b26003ce7dbdd416fdf18 /include/tgbot/net/Url.h
parentd7fbf7149d0e0c1c30972dab68d510ef6ac377dd (diff)
Fixed compiler's errors in TgTypeParser + fixed indentation + some other fixes
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;
};
}