diff options
Diffstat (limited to 'include/tgbot/net/Url.h')
-rw-r--r-- | include/tgbot/net/Url.h | 42 |
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; }; } |