You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a master-issue for collecting requirements for improving the current URI class, reduce its dependency on uriparser, and prepare it for extracting it outside of this project:
NOTE: After this one, revise the usage of URI across JSON Toolkit, as many workaround we do are for mutation, and can be simplified
On uriparser:
Stop storing a UriUriA struct. Parse on the constructor and extract every component as a separate private member on the class, and operate on those from then on. If needed, construct back to UriUriA on the spot
The text was updated successfully, but these errors were encountered:
This is a master-issue for collecting requirements for improving the current
URI
class, reduce its dependency onuriparser
, and prepare it for extracting it outside of this project:URI::URI(std::istream &)
constructor #800[[nodiscard]] auto URI::userinfo() const -> std::optional<std::string_view>
method #805URI::path()
to return each component in the path as astd::span
ofstd::string
#807URI::path_string()
that returns the entire path as a stringURI::escape
andURI::unescape
static methods into a separate component (uri/percent
?):On
uriparser
:UriUriA
struct. Parse on the constructor and extract every component as a separate private member on the class, and operate on those from then on. If needed, construct back toUriUriA
on the spotThe text was updated successfully, but these errors were encountered: