#include <url_pattern_init.h>
|
static tl::expected< url_pattern_init, errors > | process (const url_pattern_init &init, process_type type, std::optional< std::string_view > protocol=std::nullopt, std::optional< std::string_view > username=std::nullopt, std::optional< std::string_view > password=std::nullopt, std::optional< std::string_view > hostname=std::nullopt, std::optional< std::string_view > port=std::nullopt, std::optional< std::string_view > pathname=std::nullopt, std::optional< std::string_view > search=std::nullopt, std::optional< std::string_view > hash=std::nullopt) |
|
static tl::expected< std::string, errors > | process_protocol (std::string_view value, process_type type) |
|
static tl::expected< std::string, errors > | process_username (std::string_view value, process_type type) |
|
static tl::expected< std::string, errors > | process_password (std::string_view value, process_type type) |
|
static tl::expected< std::string, errors > | process_hostname (std::string_view value, process_type type) |
|
static tl::expected< std::string, errors > | process_port (std::string_view port, std::string_view protocol, process_type type) |
|
static tl::expected< std::string, errors > | process_pathname (std::string_view value, std::string_view protocol, process_type type) |
|
static tl::expected< std::string, errors > | process_search (std::string_view value, process_type type) |
|
static tl::expected< std::string, errors > | process_hash (std::string_view value, process_type type) |
|
|
std::optional< std::string > | protocol {} |
|
std::optional< std::string > | username {} |
|
std::optional< std::string > | password {} |
|
std::optional< std::string > | hostname {} |
|
std::optional< std::string > | port {} |
|
std::optional< std::string > | pathname {} |
|
std::optional< std::string > | search {} |
|
std::optional< std::string > | hash {} |
|
std::optional< std::string > | base_url {} |
|
Definition at line 36 of file url_pattern_init.h.
◆ process_type
◆ operator==()
◆ process()
static tl::expected< url_pattern_init, errors > ada::url_pattern_init::process |
( |
const url_pattern_init & | init, |
|
|
process_type | type, |
|
|
std::optional< std::string_view > | protocol = std::nullopt, |
|
|
std::optional< std::string_view > | username = std::nullopt, |
|
|
std::optional< std::string_view > | password = std::nullopt, |
|
|
std::optional< std::string_view > | hostname = std::nullopt, |
|
|
std::optional< std::string_view > | port = std::nullopt, |
|
|
std::optional< std::string_view > | pathname = std::nullopt, |
|
|
std::optional< std::string_view > | search = std::nullopt, |
|
|
std::optional< std::string_view > | hash = std::nullopt ) |
|
static |
◆ process_hash()
static tl::expected< std::string, errors > ada::url_pattern_init::process_hash |
( |
std::string_view | value, |
|
|
process_type | type ) |
|
static |
◆ process_hostname()
static tl::expected< std::string, errors > ada::url_pattern_init::process_hostname |
( |
std::string_view | value, |
|
|
process_type | type ) |
|
static |
◆ process_password()
static tl::expected< std::string, errors > ada::url_pattern_init::process_password |
( |
std::string_view | value, |
|
|
process_type | type ) |
|
static |
◆ process_pathname()
static tl::expected< std::string, errors > ada::url_pattern_init::process_pathname |
( |
std::string_view | value, |
|
|
std::string_view | protocol, |
|
|
process_type | type ) |
|
static |
◆ process_port()
static tl::expected< std::string, errors > ada::url_pattern_init::process_port |
( |
std::string_view | port, |
|
|
std::string_view | protocol, |
|
|
process_type | type ) |
|
static |
◆ process_protocol()
static tl::expected< std::string, errors > ada::url_pattern_init::process_protocol |
( |
std::string_view | value, |
|
|
process_type | type ) |
|
static |
◆ process_search()
static tl::expected< std::string, errors > ada::url_pattern_init::process_search |
( |
std::string_view | value, |
|
|
process_type | type ) |
|
static |
◆ process_username()
static tl::expected< std::string, errors > ada::url_pattern_init::process_username |
( |
std::string_view | value, |
|
|
process_type | type ) |
|
static |
◆ base_url
std::optional<std::string> ada::url_pattern_init::base_url {} |
◆ hash
std::optional<std::string> ada::url_pattern_init::hash {} |
◆ hostname
std::optional<std::string> ada::url_pattern_init::hostname {} |
◆ password
std::optional<std::string> ada::url_pattern_init::password {} |
◆ pathname
std::optional<std::string> ada::url_pattern_init::pathname {} |
◆ port
std::optional<std::string> ada::url_pattern_init::port {} |
◆ protocol
std::optional<std::string> ada::url_pattern_init::protocol {} |
◆ search
std::optional<std::string> ada::url_pattern_init::search {} |
◆ username
std::optional<std::string> ada::url_pattern_init::username {} |
The documentation for this struct was generated from the following files: