/* ------------------------------------------- Copyright Mahrouss Logic ------------------------------------------- */ #ifndef _INC_URL_HPP_ #define _INC_URL_HPP_ #include #include namespace NewOS { class Url final { public: explicit Url(StringView &strUrl); ~Url(); public: Ref> Location() noexcept; Ref> Protocol() noexcept; private: Ref m_urlView; }; ErrorOr url_extract_location(const char *url); ErrorOr url_extract_protocol(const char *url); } // namespace NewOS #endif /* ifndef _INC_URL_HPP_ */