This class parses a string with the url.
More...
#include <Url.h>
|
| | Url (const std::string &url) |
|
| std::string | protocol |
| | Protocol part of an url. Example: https://.
|
| std::string | host |
| | Host part of an url. Example: www.example.com.
|
| std::string | path |
| | Path part of an url including preceding '/' char. Example: /index.html.
|
| std::string | query |
| | Query part of an url without '?' char. Example: a=1&b=2&c=3.
|
| std::string | fragment |
| | Fragment part of an url without '#' char. Example: section1.
|
This class parses a string with the url.
Definition at line 15 of file Url.h.
◆ Url()
| TgBot::Url::Url |
( |
const std::string & | url | ) |
|
◆ fragment
| std::string TgBot::Url::fragment |
Fragment part of an url without '#' char. Example: section1.
Definition at line 43 of file Url.h.
◆ host
| std::string TgBot::Url::host |
Host part of an url. Example: www.example.com.
Definition at line 28 of file Url.h.
◆ path
| std::string TgBot::Url::path |
Path part of an url including preceding '/' char. Example: /index.html.
Definition at line 33 of file Url.h.
◆ protocol
| std::string TgBot::Url::protocol |
Protocol part of an url. Example: https://.
Definition at line 23 of file Url.h.
◆ query
| std::string TgBot::Url::query |
Query part of an url without '?' char. Example: a=1&b=2&c=3.
Definition at line 38 of file Url.h.
The documentation for this class was generated from the following file: