diff options
Diffstat (limited to 'src/url.hh')
| -rw-r--r-- | src/url.hh | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -12,6 +12,8 @@ public: virtual ~Url() {} static Url* parse(std::string const& url, Url const* base = nullptr); + static bool parse_authority(std::string const& str, + std::string* host, uint16_t* port); virtual Url* copy() const = 0; |
