Demonstrates the xtd::uri various properties.
#include <xtd/console>
#include <xtd/startup>
#include <xtd/uri>
namespace uri_example {
class program {
public:
static auto main() {
auto uri =
xtd::uri {
"https://user:password@www.contoso.com:80/Home/Index.htm?q1=v1&q2=v2#FragmentName"};
}
};
}
static basic_string join(const basic_string separator, const collection_t &values) noexcept
Concatenates a specified separator basic_string between each element of a specified object array,...
Definition basic_string.h:2296
static void write_line()
Writes the current line terminator to the standard output stream using the specified format informati...
Provides an object representation of a uniform resource identifier (URI) and easy access to the parts...
Definition uri.h:103
#define startup_(main_method)
Defines the entry point to be called when the application loads. Generally this is set either to the ...
Definition startup.h:175