* Creates an https URI with the given parameters. */
| 49 | * Creates an https URI with the given parameters. |
| 50 | */ |
| 51 | inline URI https( |
| 52 | const std::string& host, |
| 53 | const std::string& path = "/", |
| 54 | const Option<int>& port = None(), |
| 55 | const Option<std::string>& query = None(), |
| 56 | const Option<std::string>& fragment = None(), |
| 57 | const Option<std::string>& user = None(), |
| 58 | const Option<std::string>& password = None()) |
| 59 | { |
| 60 | return construct("https", path, host, port, query, fragment, user, password); |
| 61 | } |
| 62 | |
| 63 | } // namespace uri { |
| 64 | } // namespace mesos { |