Fixes #114: added support for async client requests. Also includes some cleanup, support for parallel requests, and client reconnect

This commit is contained in:
eidheim 2017-06-14 15:16:24 +02:00
commit e1aebba344
4 changed files with 471 additions and 213 deletions

View file

@ -55,7 +55,9 @@ class ClientTest : public ClientBase<HTTP> {
public:
ClientTest(const std::string& server_port_path) : ClientBase<HTTP>::ClientBase(server_port_path, 80) {}
void connect() {}
std::shared_ptr<Connection> create_connection() override {
return nullptr;
}
void constructor_parse_test1() {
assert(host=="test.org");