blob: d8150e0a95482c95270c024d65542d167649e910 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
// vim:set sw=2 ts=2 sts et:
#include <optional>
#include <string>
struct SplitUrl {
std::string schemehost;
std::string portpath;
};
std::optional<SplitUrl> splitUrl(const std::string &url, std::string *error = nullptr);
|