#include <Url.hpp>
◆ Encode()
◆ FromUrl()
Tries to convert the given string into URL.
- Parameters
-
- Returns
- The Url if succeeded, std::nullopt if it fails.
◆ IsSecure()
| bool Thoth::Http::Url::IsSecure |
( |
| ) |
const |
Check if the scheme is https.
◆ operator==()
| bool Thoth::Http::Url::operator== |
( |
const Url & |
| ) |
const |
◆ TryDecode()
Tries to decode the text with Percent-Encoding.
- Parameters
-
- Returns
- The string decoded if it succeeded, std::nullopt if it fails.
◆ std::formatter< Url >
| friend class std::formatter< Url > |
|
friend |
◆ fragment
| string Thoth::Http::Url::fragment {} |
the fragment of the URL. Normally ignored in server side.
◆ host
| string Thoth::Http::Url::host {} |
◆ path
| string Thoth::Http::Url::path {} |
◆ port
| int Thoth::Http::Url::port {} |
the port of the URL. Goes from 0 to 65.535.
◆ query
◆ scheme
| string Thoth::Http::Url::scheme {} |
the given scheme. Can be "http" or "https" (it's "empty" after all).
◆ user
| string Thoth::Http::Url::user {} |
The documentation for this struct was generated from the following file: