ClickHouse/dbms/include/DB/Common/UrlUtils.h

11 lines
215 B
C++
Raw Normal View History

#pragma once
#include <DB/Common/StringView.h>
/// Extracts scheme from given url.
StringView getUrlScheme(const StringView& url);
/// Extracts host from given url.
StringView getUrlHost(const StringView& url);