Made protocol() const, added default proxy ports, and added handshake on https proxy (based on #83)

This commit is contained in:
eidheim 2016-11-25 12:36:49 +01:00
commit 599775c83f
3 changed files with 47 additions and 18 deletions

View file

@ -48,7 +48,7 @@ class ClientTest : public ClientBase<HTTP> {
public:
ClientTest(const std::string& server_port_path) : ClientBase<HTTP>::ClientBase(server_port_path, 80) {}
std::string protocol() {
std::string protocol() const {
return "http";
}