From 719d90a40e83e870be19f8d46cc55caed618aa35 Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Wed, 1 Mar 2017 22:54:09 +0100 Subject: Add support for CONNECT --- src/url.hh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/url.hh') diff --git a/src/url.hh b/src/url.hh index d3b69b7..77027d2 100644 --- a/src/url.hh +++ b/src/url.hh @@ -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; -- cgit v1.2.3-70-g09d2