diff options
author | olegator <[email protected]> | 2022-02-10 16:49:55 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:49:55 +0300 |
commit | 971cfa1c440a14ae8352b1dbf29a884fea7536db (patch) | |
tree | e03e5f1c971e2c7a8e7ba6b0c982587b9191503e /library/cpp/string_utils/url/url.h | |
parent | c1979c2381cc77360b23e68225994f4b343e5acc (diff) |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/string_utils/url/url.h')
-rw-r--r-- | library/cpp/string_utils/url/url.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/library/cpp/string_utils/url/url.h b/library/cpp/string_utils/url/url.h index 84137ccc57d..5d6c751e4c8 100644 --- a/library/cpp/string_utils/url/url.h +++ b/library/cpp/string_utils/url/url.h @@ -73,16 +73,16 @@ Y_PURE_FUNCTION TStringBuf GetSchemeHostAndPort(const TStringBuf url, bool trimHttp = true, bool trimDefaultPort = true) noexcept; /** - * Splits URL to host and path - * - * @param[in] url any URL - * @param[out] host parsed host - * @param[out] path parsed path - */ -void SplitUrlToHostAndPath(const TStringBuf url, TStringBuf& host, TStringBuf& path); -void SplitUrlToHostAndPath(const TStringBuf url, TString& host, TString& path); - -/** + * Splits URL to host and path + * + * @param[in] url any URL + * @param[out] host parsed host + * @param[out] path parsed path + */ +void SplitUrlToHostAndPath(const TStringBuf url, TStringBuf& host, TStringBuf& path); +void SplitUrlToHostAndPath(const TStringBuf url, TString& host, TString& path); + +/** * Separates URL into url prefix, query (aka cgi params list), and fragment (aka part after #) * * @param[in] url any URL |