diff options
| author | Joel Klinghed <the_jk@yahoo.com> | 2017-03-01 22:54:09 +0100 |
|---|---|---|
| committer | Joel Klinghed <the_jk@yahoo.com> | 2017-03-01 22:54:09 +0100 |
| commit | 719d90a40e83e870be19f8d46cc55caed618aa35 (patch) | |
| tree | 10bc226c44aff6cfa3c53e5d837a32720c9bf836 /src/url.hh | |
| parent | 537ed164ae1875a8d38e06dbc214ef4f91bc4642 (diff) | |
Add support for CONNECT
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; |
