More work on SSL support.

You can now accept SSL connections using SSLListeners, and then send/receive data through the associated SSLSocket.

HttpSocket's now support both HTTP and HTTPS, using templates:

fr::HttpSocket<fr::SSLSocket> https_socket; 
fr::HttpSocket<fr::TcpSocket> http_socket;
This commit is contained in:
Cloaked9000
2016-12-15 12:29:23 +00:00
parent 51291e2cc3
commit 14fccb84c9
9 changed files with 116 additions and 103 deletions
-1
View File
@@ -129,7 +129,6 @@ namespace fr
//Add in the body
request += body + "\n";
std::cout << "constructed: " << std::endl << request << std::endl;
return request;
}
}