17 #ifndef __URI_FETCHERS_CURL_HPP__ 18 #define __URI_FETCHERS_CURL_HPP__ 47 std::set<std::string>
schemes()
const override;
49 std::string
name()
const override;
53 const std::string& directory,
66 #endif // __URI_FETCHERS_CURL_HPP__
std::set< std::string > schemes() const override
Returns the URI schemes that this plugin handles.
static const char NAME[]
Definition: curl.hpp:41
static Try< process::Owned< Fetcher::Plugin > > create(const Flags &flags)
Option< Duration > curl_stall_timeout
Definition: curl.hpp:38
~CurlFetcherPlugin() override
Definition: curl.hpp:45
process::Future< Nothing > fetch(const URI &uri, const std::string &directory, const Option< std::string > &data=None(), const Option< std::string > &outputFileName=None()) const override
Fetches a URI to the given directory.
std::string name() const override
Returns the name that this plugin registered with.
Represents a fetcher plugin that handles one or more URI schemes.
Definition: fetcher.hpp:52