Container for parsed URL components. More...
#include <url.hpp>
Public Attributes | |
| std::optional< std::string > | scheme |
| The URL scheme (e.g., "http", "https", "ftp"). May be empty for scheme-relative URLs or paths. | |
| std::optional< std::string > | host |
| The hostname or IP address. May be empty for URLs without an authority component (e.g., "file:///path"). | |
| std::optional< std::string > | port |
| The port number as a string. Will be empty if no explicit port is specified in the URL. More... | |
| std::optional< std::string > | path |
| The path component of the URL. Libcurl ensures that the path component is always present, even if empty (will be "/" for URLs like "http://example.com"). | |
| std::optional< std::string > | query |
| The query string (without the leading "?"). Empty if no query parameters are present. | |
| std::optional< std::string > | fragment |
| The fragment identifier (without the leading "#"). Empty if no fragment is present. | |
| std::optional<std::string> kvikio::detail::UrlParser::UrlComponents::port |