diff options
author | olegator <olegator@yandex-team.ru> | 2022-02-10 16:49:55 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:55 +0300 |
commit | 553b4d1ea5e01ab98a8cfa8e3cfed79a0a93972d (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/string_utils/url/url.h | |
parent | 971cfa1c440a14ae8352b1dbf29a884fea7536db (diff) | |
download | ydb-553b4d1ea5e01ab98a8cfa8e3cfed79a0a93972d.tar.gz |
Restoring authorship annotation for <olegator@yandex-team.ru>. Commit 2 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 5d6c751e4c..84137ccc57 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 |