![]() |
zeep::http::uri — Simple class, should be extended to have setters, one day.
// In header: <zeep/http/uri.hpp> class uri { public: // construct/copy/destruct uri(const std::string &); uri(const uri &); uri(uri &&); uri & operator=(const uri &); uri & operator=(uri &&); ~uri(); // public member functions bool empty() const; bool is_absolute() const; std::string get_scheme() const; std::string get_host() const; std::filesystem::path get_path() const; std::string get_query() const; std::string get_fragment() const; std::string string() const; void swap(uri &) noexcept; };
uri
public member functionsbool empty() const;Return true if url is empty (not useful I guess, you cannot construct an empty url yet)
bool is_absolute() const;Return true if the path is absolute, is always false when host is set.
std::string get_scheme() const;Return the scheme.
std::string get_host() const;Return the host.
std::filesystem::path get_path() const;Return the path.
std::string get_query() const;Return the query.
std::string get_fragment() const;Return the fragment.
std::string string() const;Return the URI as a string.
void swap(uri & u) noexcept;