boost::urls::url_view_base::encoded_origin
Return the origin
Synopsis
Declared in header <boost/url/url_view_base.hpp>
pct_string_view
encoded_origin() const noexcept;
Description
If an authority is present, this function returns the scheme and authority portion of the url. Otherwise, an empty string is returned. The returned string may contain percent escapes.