17 #ifndef __URI_SCHEMES_HTTP_HPP__ 18 #define __URI_SCHEMES_HTTP_HPP__ 36 const std::string& host,
37 const std::string&
path =
"/",
52 const std::string& host,
53 const std::string&
path =
"/",
66 #endif // __URI_SCHEMES_HTTP_HPP__
URI construct(const std::string &scheme, const std::string &path="", const Option< std::string > &host=None(), const Option< int > &port=None(), const Option< std::string > &query=None(), const Option< std::string > &fragment=None(), const Option< std::string > &user=None(), const Option< std::string > &password=None())
Construct an URI with the given parameters.
Result< std::string > user(Option< uid_t > uid=None())
Definition: su.hpp:284
Try<::mesos::Value::Ranges > fragment(const ::mesos::Value::Range &bounds, size_t numRanges)
URI http(const std::string &host, const std::string &path="/", const Option< int > &port=None(), const Option< std::string > &query=None(), const Option< std::string > &fragment=None(), const Option< std::string > &user=None(), const Option< std::string > &password=None())
Creates an http URI with the given parameters.
Definition: http.hpp:35
URI https(const std::string &host, const std::string &path="/", const Option< int > &port=None(), const Option< std::string > &query=None(), const Option< std::string > &fragment=None(), const Option< std::string > &user=None(), const Option< std::string > &password=None())
Creates an https URI with the given parameters.
Definition: http.hpp:51