Skip to content

Commit aa1544c

Browse files
committed
add RRawFileCurl plugin
1 parent be8ab72 commit aa1544c

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
void P015_RRawFileCurl()
2+
{
3+
TString configfeatures = gROOT->GetConfigFeatures();
4+
5+
if (configfeatures.Contains("curl") &&
6+
(!configfeatures.Contains("davix") || gEnv->GetValue("Curl.ReplaceDavix", 0))) {
7+
8+
gPluginMgr->AddHandler(
9+
"ROOT::Internal::RRawFile",
10+
"^http[s]?:",
11+
"ROOT::Internal::RRawFileCurl",
12+
"RCurlHttp",
13+
"RRawFileCurl(std::string_view, ROOT::Internal::RRawFile::ROptions)");
14+
}
15+
}

0 commit comments

Comments
 (0)