mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 05:32:52 +00:00
11 lines
214 B
C++
11 lines
214 B
C++
|
#pragma once
|
||
|
|
||
|
#include <DB/Common/StringView.h>
|
||
|
|
||
|
/** Extracts scheme from given url.
|
||
|
*
|
||
|
* If there is no valid scheme then
|
||
|
* empty StringView will be returned.
|
||
|
*/
|
||
|
StringView getUrlScheme(const StringView& url);
|