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