/* ------------------------------------------- Copyright ZKA Technologies ------------------------------------------- */ #ifndef _INC_URL_HPP_ #define _INC_URL_HPP_ #include #include namespace Kernel { class URL final { public: explicit URL(StringView& strUrl); ~URL(); public: Ref> Location() noexcept; Ref> Protocol() noexcept; private: Ref fUrlView; }; ErrorOr url_extract_location(const Char* url); ErrorOr url_extract_protocol(const Char* url); } // namespace Kernel #endif /* ifndef _INC_URL_HPP_ */